Comments (5)
I resolved the issue replacing the package.json.
I do not know what exactly is the cause but I just double checked and simply replacing that file makes it work. I will continue now with the course
I'm pretty sure it something to do with this here:
npm ERR! Linux 4.8.0-34-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.9.2
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: typings install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'typings install'.
{
"name": "angular-quickstart",
"version": "1.0.0",
"description": "QuickStart package.json from the documentation, supplemented with testing support",
"scripts": {
"start": "tsc && concurrently "tsc -w" "lite-server" ",
"e2e": "tsc && concurrently "http-server -s" "protractor protractor.config.js" --kill-others --success first",
"lint": "tslint ./app/**/*.ts -t verbose",
"lite": "lite-server",
"pree2e": "webdriver-manager update",
"test": "tsc && concurrently "tsc -w" "karma start karma.conf.js"",
"test-once": "tsc && karma start karma.conf.js --single-run",
"tsc": "tsc",
"tsc:w": "tsc -w"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@angular/common": "~2.4.0",
"@angular/compiler": "~2.4.0",
"@angular/core": "~2.4.0",
"@angular/forms": "~2.4.0",
"@angular/http": "~2.4.0",
"@angular/platform-browser": "~2.4.0",
"@angular/platform-browser-dynamic": "~2.4.0",
"@angular/router": "~3.4.0",
"angular-in-memory-web-api": "~0.2.4",
"systemjs": "0.19.40",
"core-js": "^2.4.1",
"rxjs": "5.0.1",
"zone.js": "^0.7.4"
},
"devDependencies": {
"concurrently": "^3.1.0",
"lite-server": "^2.2.2",
"typescript": "~2.0.10",
"canonical-path": "0.0.2",
"http-server": "^0.9.0",
"tslint": "^3.15.1",
"lodash": "^4.16.4",
"jasmine-core": "~2.4.1",
"karma": "^1.3.0",
"karma-chrome-launcher": "^2.0.0",
"karma-cli": "^1.0.1",
"karma-jasmine": "^1.0.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~4.0.14",
"rimraf": "^2.5.4",
"@types/node": "^6.0.46",
"@types/jasmine": "^2.5.36"
},
"repository": {}
}
from angular-gettingstarted.
Did 'npm install' work correctly for you?
Is this an open issue? Or did you resolve it?
from angular-gettingstarted.
Great to hear!
Yes, I see that the 'npm install' did not work. You received this error: "Failed at the [email protected] postinstall script 'typings install'."
You should be able to correct this by typing "npm run typings install"
Since the time of my course, the Angular team simplified the type management. Notice that in the quick start there are two @types entries that are not in the package.json for my course. This replaces the need to run the typings install.
For most devs, the post install script works fine. But we have found that for some devs, it does not run and manually running 'npm run typings install' after the 'npm install' is required.
But if you are running fine with using the current quickstart files, that's great. Please note however that you are using a different version of Angular than that used for the course. This should not be a problem ... but something to keep in mind.
from angular-gettingstarted.
from angular-gettingstarted.
from angular-gettingstarted.
Related Issues (20)
- Cannot run APM-Start HOT 2
- Exception while running [email protected] similiar to Issue 129 HOT 8
- Question: How can implement pagination? HOT 1
- Codesandbox.io Can't resolve all parameters for ProductListComponent: (?). HOT 4
- id issue HOT 1
- request to http://registry.npmjs.org/@angular-devkit%2fbuild-angular failed, reason: connect ECONNREFUSED 127.0.0.1:4200 HOT 12
- "Unable to resolve dependency tree" error during NPM install of APM-Start HOT 31
- Add a simple html page for product display HOT 1
- npm install not working HOT 3
- Angular npm start error HOT 2
- I think the course is missing explanation on the #variable in templates HOT 1
- I made the API for fetching data from back end service using Asp.net Core 5.0 HOT 1
- When creating a new project I get this error HOT 3
- Npm Err! code ELIFECYCLE When Npm Install , Also when running npm start ( Ionic Angular Project ) HOT 1
- Images not displaying on the initial setup thro Pluralsight HOT 2
- Blank Screen HOT 2
- Npr Errr HOT 7
- npm install --dev css-loader style-loader
- Unable to resolve "Conflicting peer dependencies" HOT 2
- Error in building an angular app. HOT 2
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-gettingstarted.