Giter Club home page Giter Club logo

Comments (9)

Ismaestro avatar Ismaestro commented on August 28, 2024

@Bichitra73 Hi, you should be able to run the app just having angular-cli at least v1.0.0 installed, node v7.10.0 and npm v4.2.0. Please check this versions (in this order):

node -v
npm -v
ng -v

If any version is not up to date, upgrade it and for angular-cli, follow this instructions.

And please, provide more info pasting here the errors that you are getting. Thanks

from angular-example-app.

Ismaestro avatar Ismaestro commented on August 28, 2024

In addition, I've updated the documentation.

from angular-example-app.

Bichitra73 avatar Bichitra73 commented on August 28, 2024

Hi ,

Should I run npm install -g @angular/cli or npm install -g angular-cli.. as per documentation @angular\cli is latest for angular 4 .. do I need to install cli in project folder also? will it take from global folder.

I installed node -v = 7.10.0 , npm v = 4.2.0 wating for your reply to install cli which command

from angular-example-app.

Ismaestro avatar Ismaestro commented on August 28, 2024

Hi @Bichitra73,

Now you have to do the following:

  1. Remove node_modules folder if there is one.
  2. Forget about angular-cli, because is in the dependencies and you don't have to install it globally.
  3. Run npm install
  4. Run npm start

Doing this, tell me if something goes wrong. Paste the error here if necessary.

In addititon, @protheantom made a change in package.json in order to add node and npm dependencies (engines section) #6 .

from angular-example-app.

Bichitra73 avatar Bichitra73 commented on August 28, 2024

Hi
My first question is which command should I run nmp install @angular/cli or nmp install angular-cli
2nd question in which folder I should run npm install to install modules.. should I run as global like
npm install -g or inside aoolication folder npm install so it will install all modules. where should I delete node_modules modules.
appreciated your help..
Thanks
Bichitra

from angular-example-app.

Ismaestro avatar Ismaestro commented on August 28, 2024

Only nmp install in the folder where is located package.json. To remove node_modules first, this folder is in the same path as package.json. If you don't see it, do nothing.

BR

from angular-example-app.

Bichitra73 avatar Bichitra73 commented on August 28, 2024

Thank you it worked...
Can I ask one question not related this project but related angular 4

from angular-example-app.

Ismaestro avatar Ismaestro commented on August 28, 2024

Yes, of course, but not in this one, first open a new issue please.

Thanks

from angular-example-app.

Bichitra73 avatar Bichitra73 commented on August 28, 2024

Hi ,
if i would like to use ng command by installing npm install -g @angular/cli and using ng command ng serve to run this project. when i install the above command it install with different version node-modules in appdata folder. then how do I resolve dependency to this project running @angular/cli ng

appreciated for your help

from angular-example-app.

Related Issues (20)

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.