Comments (9)
@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.
In addition, I've updated the documentation.
from angular-example-app.
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.
Hi @Bichitra73,
Now you have to do the following:
- Remove node_modules folder if there is one.
- Forget about angular-cli, because is in the dependencies and you don't have to install it globally.
- Run
npm install
- 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.
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.
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.
Thank you it worked...
Can I ask one question not related this project but related angular 4
from angular-example-app.
Yes, of course, but not in this one, first open a new issue please.
Thanks
from angular-example-app.
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)
- here in home page in header the home button is shown
- Not able to run npm install HOT 3
- Update link to new repo HOT 1
- Delete a registration HOT 2
- Picture HOT 1
- How to add new components? HOT 2
- Angular Material HOT 1
- Can you give us the firebase project login ?
- npm run extract-i18n is not working HOT 1
- Hero Details Page route is not working properly HOT 1
- Firebase deployed app not converting to SSR HOT 2
- How did you implement require funcionality in your server.ts file?
- Firebase - Quota Exceeded HOT 1
- Angular 9 update HOT 3
- @sadsadsdasdas
- FirebaseError: "Missing or insufficient permissions." HOT 1
- Firebase credentials are not working
- PathLocationStrategy not working
- ReferenceError: window is not defined
- es/heros routing not working
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.
from angular-example-app.