Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception during ng serve #1

Closed
yfain opened this issue Dec 4, 2016 · 3 comments
Closed

Exception during ng serve #1

yfain opened this issue Dec 4, 2016 · 3 comments

Comments

@yfain
Copy link

yfain commented Dec 4, 2016

Ran npm install and the ng serve. Got this:

annot find module 'enhanced-resolve/lib/getInnerRequest'
Error: Cannot find module 'enhanced-resolve/lib/getInnerRequest'
at Function.Module._resolveFilename (module.js:472:15)
at Function.Module._load (module.js:420:25)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at Object. (/Users/yfain11/Downloads/angular2-d3v4-graph-master/node_modules/@ngtools/webpack/src/paths-plugin.js:6:23)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at Object. (/Users/yfain11/Downloads/angular2-d3v4-graph-master/node_modules/@ngtools/webpack/src/plugin.js:14:22)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at Object. (/Users/yfain11/Downloads/angular2-d3v4-graph-master/node_modules/@ngtools/webpack/src/index.js:6:10)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at Object. (/Users/yfain11/Downloads/angular2-d3v4-graph-master/node_modules/angu

@cschroeter
Copy link

npm install enhanced-resolve

@gp187
Copy link
Owner

gp187 commented Dec 6, 2016

Does it work? Never had this problem

@gp187 gp187 closed this as completed Dec 7, 2016
@yfain
Copy link
Author

yfain commented Dec 7, 2016

I've been using yarn instead of npm. I guess, it's the yarn's issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants