Bug report: Can not start local development as described in README #12039
Closed
Description
Describe the bug
Can not start local development environment as described in README file.
To reproduce
$ yarn
$ yarn start
- See error following
$ yarn start
yarn run v1.22.21
warning ../package.json: No license field
$ next start
- ready started server on 0.0.0.0:3000, url: http://localhost:3000
- warn You have enabled experimental feature (cpus) in next.config.js.
- warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
Error: Could not find a production build in the '/home/hnaito/ethereum-org-website/.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
at NextNodeServer.getBuildId (/home/hnaito/ethereum-org-website/node_modules/next/dist/server/next-server.js:349:23)
at new Server (/home/hnaito/ethereum-org-website/node_modules/next/dist/server/base-server.js:152:29)
at new NextNodeServer (/home/hnaito/ethereum-org-website/node_modules/next/dist/server/next-server.js:173:9)
at NextServer.createServer (/home/hnaito/ethereum-org-website/node_modules/next/dist/server/next.js:179:24)
at async /home/hnaito/ethereum-org-website/node_modules/next/dist/server/next.js:200:31
at async NextServer.prepare (/home/hnaito/ethereum-org-website/node_modules/next/dist/server/next.js:161:24)
at async Server.<anonymous> (/home/hnaito/ethereum-org-website/node_modules/next/dist/server/lib/render-server.js:128:17) {
type: 'Error'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Expected behavior
$ yarn
$ yarn start
- Access to
localhost:8000
and start development
Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
No response
Would you like to work on this issue?
- Yes
- No