Closed kuncevic closed 7 years ago
Same here on angular/cli 1.4 I get this message about the control pack I use:
C:\Projects\Torch10\torch10-web\node_modules\webpack-concat-plugin\index.js:54 [0] [0] throw err; [0] [0] ^ [0] [0] [0] [0] Error: ENOENT: no such file or directory, open 'C:\Projects\Torch10\torch10-web\node_modules\jqwidgets-framework\jqwidgets\jqxdocking'
and it was just fine in cli 1.1 (the file does exist on this path, but it is ending with 'jqxdocking.js') I updated the scripts section in ny angular-cli.json and it fixed it.
"scripts": [
"../node_modules/jqwidgets-framework/jqwidgets/jqxdocking.js"
]
Heya, I'm sorry this changed. It was never supposed to auto-add the .js
extension and to be honest I did not know that was happening... we changed the way scripts are loaded to allow for uglification and sourcemaps, and the new way doesn't support auto-adding .js
. We could add this manually, but since it was never my intention to have it supported I'd prefer not to.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Versions.
Repro steps.
I always had a custom section like that:
Now with 1.4 version I've got an error on
ng serve
:Mention any other details that might be useful.
In order to fix that I just added extension
.js
to theinput
valueWorks this way. But just wonder should it just work the way it was before, without having
.js
extension?