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
npm install can fail for yall.js because of this step:
rm -rf ./dist
rm may or may not be a valid command on windows depending on the console used
I ran it from a Powershell console and even though rm is aliased it still failed at that command with this error message:
yall-js@3.1.4 postinstall C:\Code\..\node_modules\yall-js
> npm run build
> yall-js@3.1.4 build C:\Code\..\node_modules\yall-js
> npm run clean && npx rollup -c
> yall-js@3.1.4 clean C:\Code\..\node_modules\yall-js
> rm -rf ./dist
'rm' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! yall-js@3.1.4 clean: `rm -rf ./dist`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the yall-js@3.1.4 clean script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\..\AppData\Roaming\npm-cache\_logs\2019-07-29T15_06_46_005Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! yall-js@3.1.4 build: `npm run clean && npx rollup -c`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the yall-js@3.1.4 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\..\AppData\Roaming\npm-cache\_logs\2019-07-29T15_06_46_044Z-debug.log
npm WARN rollback Rolling back readable-stream@2.3.6 failed (this is probably harmless): EPERM: operation not permitted, lstat 'C:\Code\..\node_modules\fsevents\node_modules'
npm WARN assets No description
npm WARN assets No repository field.
npm WARN assets No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! yall-js@3.1.4 postinstall: `npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the yall-js@3.1.4 postinstall 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! C:\..\AppData\Roaming\npm-cache\_logs\2019-07-29T15_06_46_577Z-debug.log
This issue can be avoided by running this command:
npm install --ignore-scripts
However, the npm script should probably be tweaked to avoid the error. Perhaps the dist folder should be allowed to live?
The text was updated successfully, but these errors were encountered:
npm install can fail for yall.js because of this step:
rm -rf ./dist
rm may or may not be a valid command on windows depending on the console used
I ran it from a Powershell console and even though rm is aliased it still failed at that command with this error message:
This issue can be avoided by running this command:
However, the npm script should probably be tweaked to avoid the error. Perhaps the dist folder should be allowed to live?
The text was updated successfully, but these errors were encountered: