ipfs-examples / helia-examples

How to do most anything with your Helia node
https://verified-fetch.vercel.app
73 stars 61 forks source link

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

Open kopeboy opened 11 months ago

kopeboy commented 11 months ago

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 =>

> helia-nextjs@1.0.0 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: helia-nextjs@1.0.0
npm ERR!   at location: /Users/kopeboy/helia-examples/examples/helia-nextjs
kopeboy commented 11 months ago

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?