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 · 2 comments

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?

@Nkovaturient
Copy link

Hello there,
In helia-examples/examples/helia-nextjs dir--
after running npm install, then npm run dev, the nextjs page is feasibly loaded without any err.

Kindly apprise if there are any other issues you may be encountering?

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

2 participants