Skip to content
This repository was archived by the owner on Mar 14, 2019. It is now read-only.
This repository was archived by the owner on Mar 14, 2019. It is now read-only.

TheOrgBook Angular App Build Failure  #36

@gokulsan

Description

@gokulsan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions