-
-
Notifications
You must be signed in to change notification settings - Fork 328
Command failed: npm install cgb-scripts --save --save-exact --silent #297
Comments
Getting the same error |
Getting the same error too. |
Unfortunately I get the same error Also test it with: sudo npx create-guten-block my-test-block |
I'm getting the same error. |
same here. (Mojave ) it's still working with |
There already have an issue and have been solved: #152 The solution is to change node version to |
try NVM manager ╭─ clvz …/wp-content/plugins |
Was delighted to see this npx create-guten-block my-block but unable to install, is there any thing you can do? |
Works for me as well on Node 14.19 using NVM |
The workaround using outdated versions of node is a poor solution. This library promises to manage dependencies for you, but the dependencies under the hood here are half a decade old and include 16 high and medium severity security issues. The library is not maintained (and never was). But since the point of the library is to simplify/hide the dependency details from users, people don't know that and wrongfully think that just running a years-old version of node to "make it work" is a solution. If you use the eject script and try to update your dependencies, you'll understand. @ahmadawais should mark this repo as 'looking for maintainer' and/or archive it, as in this state it is actively doing harm to developers who don't know the difference, all while taking every opportunity to try to monetize. Full reply on the original issue (which was "closed" for no apparent reason, since this issue is cross-platform and still affects anyone attempting to use this library on a remotely recent version of node): #152 (comment) |
This project is archived and looking for active maintainers.
create-guten-block is looking for active maintianers #307 ← respond to this issue. |
Bug Report
Expected Behaviour
cd into wp-content/plugins
then run
npx create-guten-block my-project
It should install everything normally.
Actual Behaviour
During the installation I get the following error:
I am running this on MacOS big sur 11.4, just normal intel chip. I am running my wordpress locally on a docker container.
Tried it both with
npx create-guten-block
andyarn create guten-block
but getting the same error.Using node version
15.14.0
For reference here is my
docker-compose.yaml
The text was updated successfully, but these errors were encountered: