Closed StevenFewster closed 6 years ago
FYI: Resolved
Actions:
npm uninstall -g @angular/cli
yarn global add @angular/cli
After some time trying to resolve, I'm just going to accept that this has worked and move on with my life. hth
You can try/refer to this: https://github.com/angular/angular-cli/issues/7630
I have tired above solutions but it did not work for me.
Versions details:
Angular CLI: 7.3.9 Node: 10.15.3 OS: win32 x64 Angular: ...
@angular-devkit/architect 0.13.9 @angular-devkit/core 7.3.9 @angular-devkit/schematics 7.3.9 @schematics/angular 7.3.9 @schematics/update 0.13.9 rxjs 6.3.3 typescript 3.2.4
Error:
Could not find module "@schematics/angular" from "C:\Test\Projects\DemoNGApp". Error: Could not find module "@schematics/angular" from "C:\Test\Projects\DemoNGApp". at Object.resolve (\my.client.net\ViewData\Users\username\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\core\node\resolve.js:141:11) at NodeModulesEngineHost._resolvePackageJson (\my.client.net\ViewData\Users\username\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\tools\node-module-engine-host.js:28:21) at NodeModulesEngineHost._resolveCollectionPath (\my.client.net\ViewData\Users\username\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\tools\node-module-engine-host.js:69:40) at NodeModulesEngineHost.createCollectionDescription (\my.client.net\ViewData\Users\username\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\tools\file-system-engine-host-base.js:111:27) at SchematicEngine._createCollectionDescription (\my.client.net\ViewData\Users\username\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\src\engine\engine.js:147:40) at SchematicEngine.createCollection (\my.client.net\ViewData\Users\username\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\src\engine\engine.js:140:43) at NewCommand.getCollection (\my.client.net\ViewData\Users\username\AppData\Roaming\npm\node_modules\@angular\cli\models\schematic-command.js:123:35) at NewCommand.initialize (\my.client.net\ViewData\Users\username\AppData\Roaming\npm\node_modules\@angular\cli\models\schematic-command.js:42:37) at process._tickCallback (internal/process/next_tick.js:68:7) at Function.Module.runMain (internal/modules/cjs/loader.js:757:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Please help me.
I resolved it by installing the @schematics/angular
I resolved it by installing the @schematics/angular
It works, thanks a lot.
FYI: Resolved
Actions:
npm uninstall -g @angular/cli yarn global add @angular/cli
After some time trying to resolve, I'm just going to accept that this has worked and move on with my life. hth
No, this did not work...
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.
System Win x64 OS Windows 7 Enterprise
Versions
Repro steps
Observed behavior
Desired behavior
Create fresh project in the directory that I was in.
Mention any other details that might be useful (optional)
Attempted fixes include winding back to 1.6.3
Note: This is since doing an install of Node and updgrading to cli 1.6.5