yarn start

From wikieduonline
Jump to navigation Jump to search

yarn start
yarn run v1.22.18
error Couldn't find a package.json file in "/private/tmp"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command
yarn start
yarn run v1.22.19
$ next start
- ready started server on 0.0.0.0:3000, url: http://localhost:3000
- info Loaded env from /path/to/client/.env
Error: Could not find a production build in the '/path/to/client/build' directory. Try building your 
app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production- start-no-build-id

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Related[edit]

See also[edit]

Advertising: