Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues when running npm run dev #20

Open
0xjjpa opened this issue Jan 28, 2023 · 2 comments · May be fixed by #21
Open

Issues when running npm run dev #20

0xjjpa opened this issue Jan 28, 2023 · 2 comments · May be fixed by #21

Comments

@0xjjpa
Copy link

0xjjpa commented Jan 28, 2023

When running npm run dev the following error shows up instead of starting the actual Ceramic stack.

> demo@0.1.0 dev
> node scripts/run.mjs

⠸ [Ceramic] Starting Ceramic node
[Ceramic] 
> demo@0.1.0 ceramic
> CERAMIC_ENABLE_EXPERIMENTAL_COMPOSE_DB='true' npx ceramic daemon --config ./composedb.config.json

✖ [Ceramic] Ceramic node failed to start with error:
✖ [Ceramic] npm

This is likely due to the script expecting ceramic to be exposed globally.

0xjjpa added a commit to 0xjjpa/create-ceramic-app that referenced this issue Jan 28, 2023
- Fixes ceramicstudio#20
- Sadly `npx -p` isn't enough and it's expecting to be installed globally
@velvet-shark
Copy link
Contributor

@0xjjpa, a couple questions:

  • Is this the whole error? Or was there something else after ✖ [Ceramic] npm?
  • What's the node version on your system? Does node -v show v20.x?
  • What operating system do you use?

@velvet-shark
Copy link
Contributor

Also, did npm add -g @ceramicnetwork/cli solve the problem completely?

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

Successfully merging a pull request may close this issue.

2 participants