npm start is not working for React app on Gulp js



  • Hi All,

    Hope Everyone Doing great!!

    i have been started working on React.js App running on Gulp environment using node modules.

    To run the project command is npm start or gulp watch.

    Among those npm start will trigger the gulp watch, so when i use the npm start getting some kind of node module error. if i use gulp watch not getting below error.

    **C:\Users\ryangyeswar\Documents\Interserv>npm start
    'CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_module
    \npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external co
    mand,
    operable program or batch file.

    react-starterify@0.0.4 start C:\Users\ryangyeswar\Documents\Interserv
    gulp watch

    npm ERR! Windows_NT 6.1.7601
    npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs
    node_modules\npm\bin\npm-cli.js" "start"
    npm ERR! node v4.8.4
    npm ERR! npm v2.15.11
    npm ERR! file C:\Users\ryangyeswar\AppData\Roaming\npm
    npm ERR! path C:\Users\ryangyeswar\AppData\Roaming\npm
    npm ERR! code ELIFECYCLE
    npm ERR! errno ENOENT
    npm ERR! syscall spawn C:\Users\ryangyeswar\AppData\Roaming\npm
    npm ERR! react-starterify@0.0.4 start: gulp watch
    npm ERR! spawn C:\Users\ryangyeswar\AppData\Roaming\npm ENOENT
    npm ERR!
    npm ERR! Failed at the react-starterify@0.0.4 start script 'gulp watch'.
    npm ERR! This is most likely a problem with the react-starterify package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! gulp watch
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs react-starterify
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!
    npm ERR! npm owner ls react-starterify
    npm ERR! There is likely additional logging output above.
    npm ERR! Windows_NT 6.1.7601
    npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs
    node_modules\npm\bin\npm-cli.js" "start"
    npm ERR! node v4.8.4
    npm ERR! npm v2.15.11
    npm ERR! code ELIFECYCLE

    npm ERR! react-starterify@0.0.4 start: gulp watch
    npm ERR! Exit status -4058
    npm ERR!
    npm ERR! Failed at the react-starterify@0.0.4 start script 'gulp watch'.
    npm ERR! This is most likely a problem with the react-starterify package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! gulp watch
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs react-starterify
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!
    npm ERR! npm owner ls react-starterify
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! C:\Users\ryangyeswar\Documents\Interserv\npm-debug.log**

    ![0_1503050446119_NCgnK.png](Uploading 100%)


  • Admin

    Hello there, this is not a forum for Node.js questions, but a support forum for NodeBB. Please ask on Stack Overflow.


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.