create-viperhtml-app icon indicating copy to clipboard operation
create-viperhtml-app copied to clipboard

Getting all sorts or errors with npm i and npm run build commands (windows)

Open aherreraGH opened this issue 7 years ago • 0 comments

I'm running this on Windows. Tried with Git Bash on Windows and errors are the same.

> npm i
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): EPERM: operation not permitted, scandir 'E:\dev\hyperhtml-learn\node_modules\fsevents\node_modules'

> [email protected] postinstall E:\dev\hyperhtml-learn
> npm run build; echo ''; echo ' use' $(tput bold)npm start$(tput sgr0) or $(tput bold)npm run watch$(tput sgr0) to start developing.; echo ''; echo ' https://viperhtml.js.org/'; echo ''

npm ERR! missing script: build;

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\YoAdrian\AppData\Roaming\npm-cache\_logs\2019-01-04T19_07_52_144Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `npm run build; echo ''; echo ' use' $(tput bold)npm start$(tput sgr0) or $(tput bold)npm run watch$(tput sgr0) to start developing.; echo ''; echo ' https://viperhtml.js.org/'; echo ''`
npm ERR! Exit status 1

and

> npm run build

> [email protected] build E:\dev\hyperhtml-learn
> npm run purge && npm run bundle


> [email protected] purge E:\dev\hyperhtml-learn
> mkdir -p cdn; rm -rf cdn/*; mkdir -p public/js; rm -rf public/js/*.wp; rm -rf public/sw.js

The syntax of the command is incorrect.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] purge: `mkdir -p cdn; rm -rf cdn/*; mkdir -p public/js; rm -rf public/js/*.wp; rm -rf public/sw.js`
npm ERR! Exit status 1

aherreraGH avatar Jan 04 '19 19:01 aherreraGH