I'm facing a problem when using the new aurelai release :
- I created a new app using : au new myApp
- I installed aurelia-dialog via npm
- When I import aurelia-dialog and try to run the app using
au run --watch
I get htis error :
[Error: ENOENT: no such file or directory, open 'C:\src\ai-dialog.js']
Any idea ?
The reason this is happening is because the package is a CommonJS package.
See: http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/the-aurelia-cli/10
Edit your
aurelia_project/aurelia.json
file fromto
and that should solve your problem.
I got into the same issue. I have installed the aurelia dialog using below npm command
then just adding below dependencies to
aurelia.json
, resolved the issue