Error: ENOENT: no such file or directory, open '/Users/me/helia-examples/examples/helia-nextjs/.next/BUILD_ID'
kopeboy opened this issue · 1 comments
kopeboy commented
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
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
?