vscode-ng-language-service: [version 0.1.5] SERVER ERROR: Cannot find module 'minimist'
I got this error when using new version of release v0.1.5. This error did not appear in my project when using previous version 0.1.4.
SERVER ERROR: Cannot find module 'minimist'
Error: Cannot find module 'minimist'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at $getModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:10:55)
at Array.map (native)
at module.exports (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:16:46)
at CompilerService.resolveLanguageServiceModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1782:22)
at new CompilerService (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1746:24)
at new Project (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:702:36)
[Error - 4:06:03 PM] Notification handler 'textDocument/didOpen' failed with message: Cannot find module 'minimist'
Search path: /Users/apple/Desktop/lesson/forms-reactive-start/node_modules/@angular/cli/plugins
Config file name: /Users/apple/Desktop/lesson/forms-reactive-start/tsconfig.json
SERVER ERROR: Cannot find module 'minimist'
Error: Cannot find module 'minimist'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at $getModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:10:55)
at Array.map (native)
at module.exports (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:16:46)
at CompilerService.resolveLanguageServiceModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1782:22)
at new CompilerService (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1746:24)
at new Project (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:702:36)
[Error - 4:06:04 PM] Notification handler 'textDocument/didOpen' failed with message: Cannot find module 'minimist'
Search path: /Users/apple/Desktop/lesson/forms-reactive-start/node_modules/@angular/cli/blueprints/ng/files/__path__/app
Config file name: /Users/apple/Desktop/lesson/forms-reactive-start/node_modules/@angular/cli/blueprints/ng/files/tsconfig.json
SERVER ERROR: Cannot find module 'minimist'
Error: Cannot find module 'minimist'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at $getModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:10:55)
at Array.map (native)
at module.exports (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:16:46)
at CompilerService.resolveLanguageServiceModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1782:22)
at new CompilerService (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1746:24)
at new Project (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:702:36)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 7
- Comments: 15 (2 by maintainers)
For me, 0.1.4 did not auto-update. I had to do a search for “angular language service” to find 0.1.6. Oddly, I still had 0.1.5 installed (but disabled), which I installed directly via the VSIX, and THAT auto-updated.
I removed 0.1.4 and now only have 0.1.6 - which seems to be working, btw.
This dependency was removed in 0.1.6. This doesn’t fix the issue with 0.1.5 however but I am closing this issue.
Version 0.1.5 was not published to the store because of this issue. I am cutting 0.1.6 to replace it.