Skip to content

Error on fresh start #2376

Open
Open
@mfranzke

Description

@mfranzke

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

If you start up with e.g. the command npm run clean && npm i && npm run build && npm run start the following error appears:

> [email protected] next:start
> next start

   ▲ Next.js 14.1.4
   - Local:        http://localhost:3000

[Error: ENOENT: no such file or directory, open '…/showcases/patternhub/.next/BUILD_ID'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '…/showcases/patternhub/.next/BUILD_ID'
}
npm ERR! Lifecycle script `next:start` failed with error: 
npm ERR! Error: command failed 
npm ERR!   in workspace: [email protected] 
npm ERR!   at location: …/showcases/patternhub 
ERROR: "next:start" exited with 1.
npm ERR! Lifecycle script `start` failed with error: 
npm ERR! Error: command failed 
npm ERR!   in workspace: [email protected] 
npm ERR!   at location: …/showcases/patternhub

Expected Behaviour

No error would come up at starting our system.

Screenshots

No response

Browser version

None

Add any other context about the problem here.

To my impression this is related to that the patternhub build wouldn't be done in advance within the start script process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛bugSomething isn't working

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions