ahmadawais / create-guten-block

📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.
https://Awais.dev/cgb-post
MIT License
3.15k stars 328 forks source link

Doesn't work on Windows #272

Open sonicviz opened 4 years ago

sonicviz commented 4 years ago

Bug Report

Installed on a fresh copy of WordPress 5.3.2

Followed instructions npm run build

and it doesn't show up in the editor as a selectable block under common category

Also tried npm run eject with same negative result

Expected Behavior

Run commands Expect it to show up in the block editor selection under category common

but it doesn't

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Please add screenshots!)

Steps to Reproduce

(Write your steps here:)

1. 2. 3.

  1. node -v:
  2. npm -v:
  3. yarn --version (if you use Yarn):
  4. npm ls cgb-scripts (if you haven’t ejected):

Then, specify:

  1. Operating system:
  2. Browser and version (if relevant):

Possible Solution

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

dragos199993 commented 3 years ago

Hello @sonicviz. I run on Windows too and it's working fine. I need to ask you if you activated the plugin. Also try to run a LTS version of node (maybe manage that via NVM).

Hope you already solved this already.