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
'rm' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\jose\projects\DOMO_APP\node_modules\npm\bin\npm-cli.js" "run" "clean"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] clean: rm -rf node_modules && npm install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] clean script 'rm -rf node_modules && npm install'.
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 app-domo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! rm -rf node_modules && npm install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs app-domo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls app-domo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\jose\projects\DOMO_APP\npm-debug.log
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "upload"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] upload: npm run clean && npm run build && cd dist/ && domo publish && cp manifest.json ../domo/ && cd ..
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] upload script 'npm run clean && npm run build && cd dist/ && domo publish && cp manifest.json ../domo/ && cd ..'.
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 app-domo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run clean && npm run build && cd dist/ && domo publish && cp manifest.json ../domo/ && cd ..
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs app-domo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls app-domo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\jose\projects\DOMO_APP\npm-debug.log
The text was updated successfully, but these errors were encountered:
The issue has to do with the commands that are being run when you run the script npm run upload. That script is a shortcut for: npm run clean && npm run build && cd dist/ && domo publish && cp manifest.json ../domo/ && cd ..
And in there, the first script (npm run clean) is a shortcut for: rm -rf node_modules && npm install
Based on what I'm seeing in the logs, you're using Windows, and some of these commands (for example, rm) are only present on Unix systems (Linux, Mac OS, etc).
There are two possible ways to get it working, if you only have access to Windows:
Rewrite the scripts so they use Windows-based commands (that is, the scripts on the package.json file), or
I am trying to run the starter kit on windows 10 x64 and when I run npm run upload I got this error:
'rm' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\jose\projects\DOMO_APP\node_modules\npm\bin\npm-cli.js" "run" "clean"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] clean:
rm -rf node_modules && npm install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] clean script 'rm -rf node_modules && npm install'.
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 app-domo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! rm -rf node_modules && npm install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs app-domo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls app-domo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\jose\projects\DOMO_APP\npm-debug.log
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "upload"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] upload:
npm run clean && npm run build && cd dist/ && domo publish && cp manifest.json ../domo/ && cd ..
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] upload script 'npm run clean && npm run build && cd dist/ && domo publish && cp manifest.json ../domo/ && cd ..'.
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 app-domo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run clean && npm run build && cd dist/ && domo publish && cp manifest.json ../domo/ && cd ..
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs app-domo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls app-domo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\jose\projects\DOMO_APP\npm-debug.log
The text was updated successfully, but these errors were encountered: