Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Only a package.json and a .gitignore file after running the npx command #305

Open
andornagy opened this issue Dec 18, 2021 · 3 comments
Open

Comments

@andornagy
Copy link

I ran the command npx create-guten-block arion-related-posts as suggested, in wp-content/plugins, The installation took a minute, and after that, the arion-related-posts folder had 2 files.

package.json

{
  "name": "arion-related-posts-cgb-guten-block",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "start": "cgb-scripts start",
    "build": "cgb-scripts build",
    "eject": "cgb-scripts eject"
  }
}

and a .gitignore for the node_modules

The scripts, don't seem to be working either.

I have:
Node version 16.13.0
NPM version 8.1.0
Windows 10

@arkive
Copy link

arkive commented Jan 28, 2022

Hi I have the same Problem, did you find any solution .
Thanks.

Node version v16.13.1
NPM 8.1.2
MAC OSX

@andornagy
Copy link
Author

Unfortunately no. But I don't think this is getting updated anymore. So I switched to @wordpress/scripts or @wordpress/blocks

@flxspr
Copy link

flxspr commented Apr 8, 2022

Might be too late to be of any help but the scripts and config used with create-guten-block are not working with Node v16. If you want to use cgb you'll have to roll back to Node v12.

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

No branches or pull requests

3 participants