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

Error: ENOENT: no such file or directory, open '/Users/me/helia-examples/examples/helia-nextjs/.next/BUILD_ID' #184

Open
kopeboy opened this issue Oct 27, 2023 · 1 comment

Comments

@kopeboy
Copy link

kopeboy commented Oct 27, 2023

Steps to reproduce on macOS with node v20.5.0:

~/
gh repo clone ipfs-examples/helia-examples
cd helia-examples/examples/helia-nextjs
npm install
npm start
=>

> [email protected] start
> next start

[Error: ENOENT: no such file or directory, open '/Users/kopeboy/helia-examples/examples/helia-nextjs/.next/BUILD_ID'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/kopeboy/helia-examples/examples/helia-nextjs/.next/BUILD_ID'
}
npm ERR! Lifecycle script `start` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace: [email protected]
npm ERR!   at location: /Users/kopeboy/helia-examples/examples/helia-nextjs
@kopeboy
Copy link
Author

kopeboy commented Oct 27, 2023

Running npm run build before npm start would work, but how to use the development mode?
Shouldn't we update the README mentioning npm run dev?

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

No branches or pull requests

1 participant