a2c3-app1's People
a2c3-app1's Issues
npm start shows Error
D:\Udemy\Angular2-Mark\Git\a2c3-app1>npm start
> [email protected] start D:\Udemy\Angular2-Mark\Git\a2c3-app1
> ng serve
fs.js:972
binding.stat(pathModule.toNamespacedPath(path));
^
Error: ENOENT: no such file or directory, stat 'D:\Udemy\Angular2-Mark\Git\a2c3-app1\src\assets'
at Object.fs.statSync (fs.js:972:11)
at Observable.rxjs_1.Observable.obs [as _subscribe] (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\core\node\host.js:212:25)
at Observable.subscribe (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\core\node_modules\rxjs\internal\Observable.js:162:69)
at MapOperator.call (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\core\node_modules\rxjs\internal\operators\map.js:62:23)
at Observable.subscribe (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\core\node_modules\rxjs\internal\Observable.js:159:22)
at CatchOperator.call (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\build-angular\node_modules\rxjs\internal\operators\catchError.js:28:23)
at Observable.subscribe (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\core\node_modules\rxjs\internal\Observable.js:159:22)
at MapOperator.call (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\build-angular\node_modules\rxjs\internal\operators\map.js:62:23)
at Observable.subscribe (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\core\node_modules\rxjs\internal\Observable.js:159:22)
at D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\build-angular\node_modules\rxjs\internal\util\subscribeToObservable.js:16:20
at Object.subscribeToResult (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\build-angular\node_modules\rxjs\internal\util\subscribeToResult.js:7:45)
at new ForkJoinSubscriber (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\build-angular\node_modules\rxjs\internal\observable\forkJoin.js:165:57)
at Observable._subscribe (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\build-angular\node_modules\rxjs\internal\observable\forkJoin.js:145:16)
at Observable.subscribe (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\build-angular\node_modules\rxjs\internal\Observable.js:162:69)
at D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\build-angular\node_modules\rxjs\internal\util\subscribeTo.js:22:31
at Object.subscribeToResult (D:\Udemy\Angular2-Mark\Git\a2c3-app1\node_modules\@angular-devkit\build-angular\node_modules\rxjs\internal\util\subscribeToResult.js:7:45)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `ng serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Amit\AppData\Roaming\npm-cache\_logs\2018-10-31T12_58_07_128Z-debug.log
D:\Udemy\Angular2-Mark\Git\a2c3-app1>
Error: Cannot find module '@angular-devkit/core'
Hi. I've faced the issue with building the project:
Your global Angular CLI version (1.7.3) is greater than your local
version (1.5.0). The local Angular CLI version is used.
To disable this warning use "ng set --global warnings.versionMismatch=false".
module.js:549
throw err;
^
Error: Cannot find module '@angular-devkit/core'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (...\a2c3-app1\a2c3-app1- master\node_modules@angular-devkit\schematics\src\tree\virtual.js:10:16)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
My environment:
node -v
v8.10.0
npm -v
5.6.0
Could someone point me how can I resolve the issue?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.