Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install --production fails #105

Closed
jrfoell opened this issue Mar 17, 2021 · 1 comment · Fixed by #109
Closed

npm install --production fails #105

jrfoell opened this issue Mar 17, 2021 · 1 comment · Fixed by #109

Comments

@jrfoell
Copy link

jrfoell commented Mar 17, 2021

Expected behavior

The plugin builds with minimal extras

Actual behavior

Build fails with: sh: 1: wds-build: not found

Steps to reproduce error

git clone [email protected]:WebDevStudios/wds-blocks.git
cd wds-blocks
npm install --production

Screenshots of error

$ npm install --production
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!

> [email protected] postinstall /home/justin/src/wds-blocks
> npm run build && composer install --quiet


> [email protected] build /home/justin/src/wds-blocks
> wds-build

sh: 1: wds-build: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] build: `wds-build`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] 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!     /home/justin/.npm/_logs/2021-03-17T21_32_04_224Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `npm run build && composer install --quiet`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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!     /home/justin/.npm/_logs/2021-03-17T21_32_04_274Z-debug.log

Please include any relevant parts of your configuration

  • Node v14, NPM v6
@jmotes
Copy link

jmotes commented May 19, 2021

Same issue here with the regular npm install. I haven't been able to make it work at all :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants