Describe the bug
Because next start path-to-project apparentlys makes process.cwd() be where the next command was executed from, it breaks config loading.
I'm not sure if we can actually fix this, maybe we just need to document that next path-to-project isn't supported by HeadstartWP
Steps to Reproduce
- Do a build
- From the root of the monorepo run
next start projects/wp-nextjs
- See an error about the config.
- Now run next start directly in projects/wp-nextjs and there's not issue.
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
Describe the bug
Because
next start path-to-projectapparentlys makes process.cwd() be where the next command was executed from, it breaks config loading.I'm not sure if we can actually fix this, maybe we just need to document that
next path-to-projectisn't supported by HeadstartWPSteps to Reproduce
next start projects/wp-nextjsScreenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct