angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Cannot find module '@schematics/angular/utility/dependencies'

Open Eyakarouche opened this issue 7 years ago • 15 comments

when i run this commande ng add @nguniversal/express-engine --clientProject angular.io-example i get this result image

Eyakarouche avatar Mar 27 '19 13:03 Eyakarouche

wait? what is the solution for this problem because i'm facing the same situation

Installing packages for tooling via npm. Cannot find module '@schematics/angular/utility/dependencies' Error: Cannot find module '@schematics/angular/utility/dependencies' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:613:15) at Function.Module._load (internal/modules/cjs/loader.js:539:25) at Module.require (internal/modules/cjs/loader.js:667:17) at require (internal/modules/cjs/helpers.js:20:18) at /Users/azri/Desktop/Development/lion-dashboard/node_modules/@nguniversal/express-engine/schematics/install/index.js:34:26 at /Users/azri/Desktop/Development/lion-dashboard/node_modules/@nguniversal/express-engine/schematics/install/index.js:14:17 at Object.<anonymous> (/Users/azri/Desktop/Development/lion-dashboard/node_modules/@nguniversal/express-engine/schematics/install/index.js:20:3) at Module._compile (internal/modules/cjs/loader.js:738:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10) at Module.load (internal/modules/cjs/loader.js:630:32)

AzriZzz avatar Mar 28 '19 10:03 AzriZzz

Getting the same issue

andrejacksonnola avatar Apr 05 '19 23:04 andrejacksonnola

Still, I am getting the same error.

rajaramtt avatar Apr 25 '19 12:04 rajaramtt

Getting the same issue.

bypina avatar May 04 '19 21:05 bypina

Why was this closed?

bypina avatar May 13 '19 23:05 bypina

same issue hete.

maseranw avatar May 14 '19 18:05 maseranw

@alan-agius4 It would be nice if you wrote why you close issue.

greenjellygit avatar May 15 '19 19:05 greenjellygit

Getting the same issue? Any help so far or any solution?

aleemkhan avatar May 20 '19 12:05 aleemkhan

Got the same issue? Any help for the server-side-rendering?

LOMFM avatar Aug 01 '19 16:08 LOMFM

i am also getting same issue while doing ssr.

draooo avatar Aug 02 '19 04:08 draooo

Issue was closed as it doesn't follow the issue template. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.

If the problem persists in version 8.3, please file a new issue and ensure you provide all of the required information when filling out the issue template.

alan-agius4 avatar Aug 02 '19 06:08 alan-agius4

ng add @nguniversal/express-engine@^7.1.0 --clientProject project-name if you use angular 7.1.0 that would help to resolve that issue, angular and express-engine versions should be the same.

ghost avatar Aug 13 '19 12:08 ghost

please have a try with following commands. npm i @nguniversal/express-engine ng generate universal --client-project

chandima-mdosl avatar Sep 05 '19 08:09 chandima-mdosl

ng add @nguniversal/express-engine@^7.1.0 --clientProject project-name if you use angular 7.1.0 that would help to resolve that issue, angular and express-engine versions should be the same.

It works for me. Angular CLI: 7.1.4 Node: 8.11.2 OS: win32 x64 Angular: ...

Package Version

@angular-devkit/architect 0.11.4 @angular-devkit/core 7.1.4 @angular-devkit/schematics 7.1.4 @schematics/angular 7.1.4 @schematics/update 0.11.4 rxjs 6.3.3 typescript 3.1.6

bladimirventura avatar Sep 30 '19 15:09 bladimirventura

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.