You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 14, 2019. It is now read-only.
npm ERR! Failed to parse json
npm ERR! Cannot find module './lib/parse'
npm ERR! File: /opt/app-root/src/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request:
npm ERR! /opt/app-root/src/npm-debug.log
Build failed
ERROR: An error occurred: non-zero (13) exit code from centos/nodejs-6-centos7:6`
I have tried the fix suggested in the other issue discussions.
I have edited the package.json file and changed the router parameter.
It did not work. Please suggest a resolution.
Please find the error in the Angular App Deployment stage.
`Successfully built 4a4df4cded98
Successfully tagged nginx-runtime:latest
Building angular-app image ...
---> Installing application source ...
---> Installing all dependencies
npm ERR! Linux 4.9.87-linuxkit-aufs
npm ERR! argv "/opt/rh/rh-nodejs6/root/usr/bin/node" "/opt/rh/rh-nodejs6/root/usr/bin/npm" "install"
npm ERR! node v6.11.3
npm ERR! npm v3.10.9
npm ERR! file /opt/app-root/src/package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! Cannot find module './lib/parse'
npm ERR! File: /opt/app-root/src/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request:
npm ERR! /opt/app-root/src/npm-debug.log
Build failed
ERROR: An error occurred: non-zero (13) exit code from centos/nodejs-6-centos7:6`
I have tried the fix suggested in the other issue discussions.
I have edited the package.json file and changed the router parameter.
It did not work. Please suggest a resolution.