Difference between revisions of "Yarn start"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
  yarn start
 
  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.
 
  error Command failed with exit code 1.

Revision as of 10:31, 30 June 2023

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

See also

Advertising: