You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
If you globally install @angular-devkit/schematics and try to create a new schematic using schematics @schematics/schematics:schematic --name=SomeSchematicName you will get the following error:
The log given by the failure
Error: Cannot find module '@angular-devkit/core'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\......\node_modules\@schematics\schematics\schematic\factory.js:10:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Desired functionality
No errors and a generated new schematics blueprint
Mention any other details that might be useful
the @schematics/schematics:schematic factory uses a dependency on @angular-devkit/core, but this dependency is not in the package.json
dustincleveland, artamigo, styopdev, elaugier, churivibhav and 3 more