Open radiorz opened 2 years ago
Same problem here. Did someone find a solution?
For now, you can use like that:
`import { init } from 'module-alias;
init({ base: 'Path to your package.json' }); `
do not use import 'module-alias/register
, as said here https://github.com/ilearnio/module-alias#using-within-another-npm-package
I use lerna to manage my project.and the nodejs server is one of packages. I run the script on the root
and it return a error :