Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ts-node-maintained' imported from /data/disk1/docker-projects/adonisjs/adonis-inertiajs/code/ace.js
while using augument chat it gives result
The issue is that ts-node-maintained is a deprecated package, and we should use the official ts-node package instead. This change will resolve the module not found error while maintaining the same functionality.
After making these changes, try running your ace commands again. They should work properly now.
and it suggest to remove ts-node-maintained and use ts-node
can anyone guide me what is the proper solution?
Recently from today i am getting error on node package on adonisjs
-
-
Responding to rajeeb-shakya
Sorry I couldn't be of more help, Rajeeb! I hope you're able to find a solution. You might have luck reaching out on the AdonisJS Discussions or Discord.
0
-
-
Hi Rajeeb!
Do you have
ts-node-maintained
installed? This package is a version the AdonisJS Core team support that's a maintained fork ofts-node
.Please make sure that this package is installed and that you're attempting to run your Ace CLI command from the correct directory. If in development, that'll be the root of your project. If you're attempting to run a built application, that'll be in the
build
directory. I'm unfamiliar with Docker, but that may be a source of the issue as well.As a sanity check, I just pulled down a new installation of the AdonisJS Inertia starter kit and it installed and booted successfully.
0