Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postinstall crashes npm install and npm ci #831

Closed
jecraig opened this issue May 19, 2020 · 0 comments
Closed

postinstall crashes npm install and npm ci #831

jecraig opened this issue May 19, 2020 · 0 comments

Comments

@jecraig
Copy link

jecraig commented May 19, 2020

I've had this happen on all of my machines.

Windows 10 and Windows Server 2012 R2.
Node v12.16.3

Using the following package.json.
Step 1: npm install
Step 2: npm ci

You should see the following error
image

npm error log

404 verbose stack Error: core-js@3.6.4 postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
404 verbose stack Exit status 1
404 verbose stack     at EventEmitter.<anonymous> (C:\ProgramData\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
404 verbose stack     at EventEmitter.emit (events.js:310:20)
404 verbose stack     at ChildProcess.<anonymous> (C:\ProgramData\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
404 verbose stack     at ChildProcess.emit (events.js:310:20)
404 verbose stack     at maybeClose (internal/child_process.js:1021:16)
404 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
405 verbose pkgid core-js@3.6.4
406 verbose cwd E:\TeamCity\BuildAgents\One\work\4022b926d3968d22\web\aeclient
407 verbose Windows_NT 6.3.9600
408 verbose argv "C:\\ProgramData\\nodejs\\node.exe" "C:\\ProgramData\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
409 verbose node v12.16.3
410 verbose npm  v6.14.4
411 error code ELIFECYCLE
412 error errno 1
413 error core-js@3.6.4 postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
413 error Exit status 1
414 error Failed at the core-js@3.6.4 postinstall script.

package.json

{
	"private": true,
	"dependencies": {
		"@angular/animations": "9.1.3",
		"@angular/cdk": "9.2.2",
		"@angular/common": "9.1.3",
		"@angular/compiler": "9.1.3",
		"@angular/core": "9.1.3",
		"@angular/forms": "9.1.3",
		"@angular/localize": "9.1.3",
		"@angular/platform-browser": "9.1.3",
		"@angular/platform-browser-dynamic": "9.1.3",
		"@angular/router": "9.1.3",
		"@ng-bootstrap/ng-bootstrap": "6.1.0",
		"@ng-select/ng-option-highlight": "0.0.5",
		"@ng-select/ng-select": "4.0.0",
		"@swimlane/ngx-charts": "14.0.0",
		"@types/dompurify": "2.0.1",
		"@types/overlayscrollbars": "1.12.0",
		"@uirouter/angular": "6.0.1",
		"@uirouter/core": "6.0.4",
		"@uirouter/rx": "0.6.5",
		"bootstrap": "4.4.1",
		"class-transformer": "0.2.3",
		"classlist.js": "1.1.20150312",
		"diff": "4.0.2",
		"diff2html": "3.1.6",
		"dompurify": "2.0.9",
		"fuzzysort": "1.1.4",
		"history": "4.10.1",
		"ngx-quill": "8.1.7",
		"ngx-toastr": "12.0.1",
		"overlayscrollbars": "1.12.0",
		"overlayscrollbars-ngx": "0.2.2",
		"quill": "1.3.7",
		"reflect-metadata": "0.1.13",
		"resize-observer": "1.0.0",
		"rxjs": "6.5.5",
		"spacetime": "6.4.3",
		"store": "2.0.12",
		"sugar": "2.0.6",
		"thenby": "1.3.2",
		"ts-key-enum": "2.0.2",
		"tslib": "1.10.0",
		"wampy": "6.2.2",
		"zone.js": "0.10.3"
	},
	"devDependencies": {
		"@angular-builders/custom-webpack": "9.1.0",
		"@angular-devkit/build-angular": "0.901.3",
		"@angular-devkit/build-ng-packagr": "0.901.3",
		"@angular/cli": "9.1.3",
		"@angular/compiler-cli": "9.1.3",
		"@angular/language-service": "9.1.3",
		"@fluffy-spoon/substitute": "1.131.0",
		"@types/diff": "4.0.2",
		"@types/history": "4.7.5",
		"@types/jasmine": "3.5.10",
		"@types/jasminewd2": "2.0.8",
		"@types/node": "12.11.1",
		"@types/quill": "2.0.3",
		"@types/store": "2.0.2",
		"@types/wampy": "0.0.0",
		"codelyzer": "5.1.2",
		"jasmine-core": "3.5.0",
		"jasmine-spec-reporter": "5.0.1",
		"karma": "5.0.2",
		"karma-chrome-launcher": "3.1.0",
		"karma-coverage-istanbul-reporter": "2.1.1",
		"karma-jasmine": "3.1.1",
		"karma-jasmine-html-reporter": "1.5.3",
		"karma-jasmine-matchers": "4.0.2",
		"ng-packagr": "9.0.0",
		"prettier": "2.0.5",
		"rxjs-spy": "7.5.1",
		"rxjs-tslint-rules": "4.30.1",
		"ts-node": "8.9.0",
		"tslint": "6.1.1",
		"typemoq": "2.1.0",
		"typescript": "3.8.3"
	},
	"browserslist": [
		"> 0.5%",
		"last 2 versions",
		"Firefox ESR",
		"not dead",
		"IE 9-11"
	]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant