helia-examples
helia-examples copied to clipboard
Error: ENOENT: no such file or directory, open '/Users/me/helia-examples/examples/helia-nextjs/.next/BUILD_ID'
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
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?
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?