Skip to content

npm not running 'run watch' command - issue with bash  #1

@adriangreenland

Description

@adriangreenland

Hi

not very experienced with the terminal but after installing parcel i cant seem to run npm for some reason...

I see the error below:

sh: parcel: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! personalportfolio@1.0.0 watch: parcel src/index.html
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the personalportfolio@1.0.0 watch 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! /Users/Greenland/.npm/_logs/2018-07-04T21_55_49_538Z-debug.log
Adrians-MBP:PersonalPortfolio Greenland$ parcel src/index.html
bash: parcel: command not found

also after installing parcel and running 'parcel src/index.html' i get the error 'bash: parcel: command not found'

any assistance welcomed

thanks
adrian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions