Recently from today i am getting error on node package on adonisjs

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?

Join The Discussion! (1 Replies)

Please sign in or sign up for free to join in on the dicussion.

  1. Commented 1 day ago

    Hi Rajeeb!

    Do you have ts-node-maintained installed? This package is a version the AdonisJS Core team support that's a maintained fork of ts-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

    Please sign in or sign up for free to reply