Skip to content

npm install error #29

@n00biekrakr

Description

@n00biekrakr

Describe the bug
npm install throwing error on GCP Cloud hosted Ubuntu 18.04 LTS

To Reproduce
Steps to reproduce the behavior:

  1. Go to Cloud console
  2. cd to expense-manager-react
  3. enter command npm start
  4. See error

Screenshots

expense-manager-npm

Desktop (please complete the following information):

  • OS: Ubuntu 18.04

Error Details

root@money-mgmt:/opt/expense-manager-react# npm start

> expense-manager-react@0.1.0 start /opt/expense-manager-react
> react-scripts start

sh: 1: react-scripts: not found

npm ERR! Linux 4.15.0-1037-gcp
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! expense-manager-react@0.1.0 start: `react-scripts start`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the expense-manager-react@0.1.0 start script 'react-scripts start'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the expense-manager-react package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     react-scripts start
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs expense-manager-react
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls expense-manager-react
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /opt/expense-manager-react/npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions