Skip to content

package.json version #9222

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

Closed
thomasiinerds opened this issue Jan 15, 2018 · 4 comments
Closed

package.json version #9222

thomasiinerds opened this issue Jan 15, 2018 · 4 comments

Comments

@thomasiinerds
Copy link

Versions

{
"name": "gogocar-wizard",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve --aot",
"build": "ng build",
"buildqa": "npm run build -- --environment=qa2",
"buildprod": "npm run build -- --environment=prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"preinstall": "npm i typings"
},
"private": true,
"dependencies": {
"@angular/animations": "4.4.6",
"@angular/common": "4.4.6",
"@angular/compiler": "4.4.6",
"@angular/compiler-cli": "4.4.6",
"@angular/core": "4.4.6",
"@angular/forms": "4.4.6",
"@angular/http": "4.4.6",
"@angular/platform-browser": "4.4.6",
"@angular/platform-browser-dynamic": "4.4.6",
"@angular/platform-server": "4.4.6",
"@angular/router": "4.4.6",
"@ng-bootstrap/ng-bootstrap": "1.0.0-alpha.28",
"@qontu/ngx-inline-editor": "0.2.0-alpha.12",
"angular2-google-chart": "2.1.1",
"angular2-jsonwebtoken": "0.8.1",
"angular2-jwt": "0.2.0",
"angular2-toaster": "3.0.1",
"angular2-uuid": "1.1.1",
"auth0-lock": "10.14.0",
"aws-sdk": "2.88.0",
"chart.js": "2.5.0",
"core-js": "2.4.1",
"ng2-charts": "1.5.0",
"ng2-ckeditor": "1.1.6",
"ng2-google-place-autocomplete": "1.4.2",
"ng2-inline-editor": "0.1.1-alpha.15",
"node-datetime": "1.0.0",
"primeng": "4.1.1",
"pubnub": "4.9.1",
"pubnub-angular2": "1.0.2",
"rxjs": "5.5.5",
"typings": "2.1.1",
"zone.js": "0.8.4"
},
"devDependencies": {
"@angular/cli": "1.5.3",
"@angular/compiler-cli": "4.4.6",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",
"codelyzer": "~2.0.0",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "0.2.2",
"protractor": "~5.1.2",
"ts-node": "~3.0.4",
"tslint": "~5.3.2",
"typescript": "2.3.4"
}
}

Repro steps

npm install
ng serve
build in jenkins

Observed behavior

module.js:471
throw err;
^

Error: Cannot find module 'rxjs/operators'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/var/lib/jenkins/workspace/Build-deploy-web-wizard-QA2/node_modules/@angular-devkit/core/src/logger/indent.js:10:21)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: ng build "--environment=qa2"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build 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! /var/lib/jenkins/.npm/_logs/2018-01-15T13_43_08_397Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] buildqa: npm run build -- --environment=qa2
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] buildqa 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! /var/lib/jenkins/.npm/_logs/2018-01-15T13_43_08_412Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE

Desired behavior

Mention any other details that might be useful (optional)

when i try to build it it fails and shows the above given error,please respond because its really urgent

@kvetis
Copy link

kvetis commented Jan 15, 2018

Sorry, this is not a support forum. The best you can do is to put your question on stack overflow. Be sure you provide as much information that could help as possible. Please formulate your question precisely.

If you believe you have found a bug with angular-cli, please state so precisely and provide a minimal set of steps for reproduction.

@KrekkieD
Copy link

This is caused by a dependency on @angular-devkit/schematics which is doing patch-version bumps with breaking changes (requires rxjs@^5.5.6). The angular-cli package.json should lock the dependency version for any dependencies that have a 0.x.x major version. See angular/devkit#380

@Brocco
Copy link
Contributor

Brocco commented Jan 17, 2018

Closing this as it will be tracked via angular/devkit#380

@Brocco Brocco closed this as completed Jan 17, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants