-
-
Notifications
You must be signed in to change notification settings - Fork 328
Error: Command failed: npm install cgb-scripts --save --save-exact --silent #152
Comments
I have exactly the same issue occurring on Windows 10 64-bit.
Any help would be greatly appreciated! |
I was very dissapointed to not have any sort of support from this plugin after almost ten days of posting my issue, and I found out a way to create my own blocks from scratch in this very in-depth and well explained video, it helped me to create my own block and also showed me a little JSX / React (which is what gutenberg blocks uses), I hope you find it useful: https://www.youtube.com/watch?v=Mv68Sa-iHyo&list=LL22-OvuLQevpuSFPWrwXcTA&t=1686s&index=15 |
I'm happy for you. Don't expect support for free and Open source software that 99% people who use it never contribute to or support monetarily. I wish I had ten more like me to help with everything. |
Also I don't have Windows so I'm helpless in helping you. |
Thanks @mauricionieto1994 I'll definitely take a look at the video! @ahmadawais I understand your point! I was wondering, is there any way we could help to make it work on Windows and Ubuntu? |
It is open source. Try to test and figure out what's wrong and then contribute the fix. That's how you can help with code. Otherwise, support me or someone else by monetary donation to devote some time to this project and fix this for you. Both forms of contributions are welcomed. |
This is an error related to the vagrant guest not allowing the creation of symbolic links (which is attempted by a dependency of create-guten-block) on a synced folder. After a long trip down the rabbit hole, I had success by setting |
I'm having the exact same problem. On macOS Catalina. @AVB100 : I'm not familiar with Vagrant. Is this something related to a Windows box? Here's my output:
My node is at 12.13.1 |
I'm also having this problem. Mac OS 10.15.3 Here's my output:
|
Wow, I've fallen down a series of rabbit holes trying to figure this out...
Google led me to Is this an Issue with MACOS catalina? · Issue #1927 · nodejs/node-gyp · GitHub, which led me to Installation notes for macOS Catalina (v10.15) and I followed their troubleshooting. Confirmed that I failed both parts of "the acid test", and ended up manually installing XCode Command Line Tools via the Apple developer website. (I tried That fixed my receipts, so then I was able to So with bated breath, I tried Here's the error log: My node is now version 12.16.0 and npm is version 6.13.4 @ahmadawais, is there anything else I can do to try to help you troubleshoot this? |
|
For anyone looking...
|
Hello, I had the same error : Error: Command failed: npm install cgb-scripts --save --save-exact --silent I succeed by install cgb-scripts globally : npm install -g cgb-scripts |
2021, same exact error on mac os Big sur........ Is this project completely dead, did anybody manage to fix this problem? |
Anyone managed to fix this? |
On macOS Catalina, using nvm with v14.17.0 node version, it worked for me. |
@evabelpeq You made my day! Works for me too! Thanks for sharing! |
This also worked for me as well! |
@evabelpeq I change the node v14.17.0 node version, it worked for me. Thanks for sharing! |
Sadly the error still persists for me while using node v14.17.0 (npm v6.14.13) via nvm. (Big Sir: 11.6.2 (20G314)) M1 Chip. |
Thank you @evabelpeq . I'm on Windows 10. So I installed NVM for Windows. Through nvm, I installed and use node.js 14.17.0 and now my package errors are gone. Many thanks! |
work for me: |
-------------worked-------------- thanks |
I had that same issue on my Ubuntu environment while I had activated the Node version When I changed the Node version down to Hope that helps some of you :) |
Thanks! |
Macos, node 17, didn't work. downgraded node to 14, just got a different error. I'm done. I get free software and whatever but the number of posts on this suggests it's quite an issue and worthy of more developer attention. At the risk of getting shouted at, this should be better and i'm done. |
Downgrading from node 17.9.0 to node 14.19.3 with nvm helped me (Win10 - WSL Debian)nvm - |
Bug Report
Expected Behavior
I wanted to install create-guten-blocks by running the npx create-guten-blocks my-block command.
Actual Behavior
I expected to install the create-guten-block plugin, but when I try to run the "npx create-guten-block my-block" It throws me the next error after a while:
Error: Command failed: npm install cgb-scripts --save --save-exact --silent
at makeError (/home/vagrant/.npm/_npx/4487/lib/node_modules/create-guten-block/node_modules/execa/index.js:169:9)
at Promise.all.then.arr (/home/vagrant/.npm/_npx/4487/lib/node_modules/create-guten-block/node_modules/execa/index.js:274:16)
at processTicksAndRejections (internal/process/next_tick.js:81:5)
I am sorry if im not able to provide further information, this is as far as I got into the plugin, I cant seem to be able to install it at all, let alone use it!!
Steps to Reproduce
(Write your steps here:)
node -v
: 6.9.0npm -v
: v11.10.1yarn --version
(if you use Yarn): N/Anpm ls cgb-scripts
(if you haven’t ejected): N/AOperating system: Ubuntu 18.04.1 LTS
Browser and version (if relevant): N/A
Possible Solution
It seems to me that the error is when Im installing all the cgb-scripts, but I dont know what is causing the issue.
I would appreciate any help to start working on the plugin as fast as possible, Thank you in advance!
The text was updated successfully, but these errors were encountered: