ionic-team / stencil-ds-plugins-demo

This is a demo project using the stencil-ds-plugins.
MIT License
44 stars 20 forks source link

'rm' is not recognized as an internal or external command #5

Open peterennis opened 4 years ago

peterennis commented 4 years ago

Running on Windows 10. Need rimraf or similar?

C:\ae\stencil-ds-plugins-demo\packages\component-library-react>npm run build

> component-library-react@0.0.1 build C:\ae\stencil-ds-plugins-demo\packages\component-library-react
> npm run clean && npm run compile

> component-library-react@0.0.1 clean C:\ae\stencil-ds-plugins-demo\packages\component-library-react
> 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! component-library-react@0.0.1 clean: `rm -rf dist`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the component-library-react@0.0.1 clean 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:\Users\peter\AppData\Roaming\npm-cache\_logs\2019-11-09T05_43_55_132Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! component-library-react@0.0.1 build: `npm run clean && npm run compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the component-library-react@0.0.1 build 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:\Users\peter\AppData\Roaming\npm-cache\_logs\2019-11-09T05_43_55_176Z-debug.log

C:\ae\stencil-ds-plugins-demo\packages\component-library-react>

Capture693

peterennis commented 4 years ago

@mhartington

Resolved with this: https://github.com/adaept/stencil-ds-plugins-demo/commit/db169686141c6c3df9649d359f8ec62e29d5c53b#diff-0d29217602bc1050ef44da26860a74b1L13-L14

Not sure how you feel about rimraf.

Do you want a PR?