GithubHelp home page GithubHelp logo

a2c3-app1's Introduction

A2c3App1

This project was tested with Angular CLI version 8.1.2.

Development server

First install the Angular CLI globally:

  • npm install -g @angular/cli

Then run ng serve --open for a dev server. This should open http://localhost:3000/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

a2c3-app1's People

Contributors

mrajcok avatar

Stargazers

 avatar

Watchers

 avatar  avatar

a2c3-app1's Issues

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?

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>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.