celo-org / celo-composer

celo-composer is a starter project with all code needed to build, deploy, and upgrade a dapps on Celo.
MIT License
117 stars 110 forks source link

[Bug]: Celo composer create command fails #168

Closed Emmanuel-umeh closed 1 year ago

Emmanuel-umeh commented 1 year ago

Which Framework?

React (with Tailwind)

What happened?

The command npx @celo/celo-composer create fails with the following error when i select the frontend framework 'React with Tailwindcss (blank boilerplate)'.

Updating files: 100% (7/7), done.
cat: no such file or directory: packages/react-app-tailwindcss/package.json
Unhandled exception. Shutting down SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Command.createAsync (/Users/emmanuel/.npm/_npx/500f2d7f75beab14/node_modules/@celo/celo-composer/bin/create.js:191:35)

Screenshot 2023-01-11 at 10 58 43

Node version : v16.18.1

Machine : Apple silicon m1

Also recreated this issue on a windows machine.

Steps to reproduce

Anything else?

Link to composer: https://github.com/celo-org/celo-composer

Emmanuel-umeh commented 1 year ago

could anyone recreate or resolve this issue?

viral-sangani commented 1 year ago

@Emmanuel-umeh This issue is fixed in v1.0.2. Can you check with latest version and let me know if you still face this issue?

Emmanuel-umeh commented 1 year ago

yes it works fine in the new build. Thanks a lot💪🏼