You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a new nextjs app in a turborepo workspace the version is missing in the package.json. When you run yarn install or yarn build You get a message that says warning Missing version in workspace at "/workspace/apps/my-app", ignoring..
This will be fixed by adding a default version like 0.0.0 in the default NextJS package.json template.
Expected Behavior
yarn install and yarn build should work without having to add a version to the package.json
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Run
next info
(available from version 12.0.8 and up)Operating System:
Platform: linux
Arch: x64
Version: #15-Ubuntu SMP Wed Jan 12 19:18:58 UTC 2022
Binaries:
Node: 16.13.0
npm: 8.1.0
Yarn: 1.22.17
pnpm: N/A
Relevant packages:
next: 12.0.10
react: 17.0.2
react-dom: 17.0.2
What version of Next.js are you using?
12.0.10
What version of Node.js are you using?
16.0
What browser are you using?
Chrome
What operating system are you using?
Linux
How are you deploying your application?
Kubernetes
Describe the Bug
When adding a new nextjs app in a turborepo workspace the
version
is missing in thepackage.json
. When you runyarn install
oryarn build
You get a message that sayswarning Missing version in workspace at "/workspace/apps/my-app", ignoring.
.This will be fixed by adding a default version like
0.0.0
in the default NextJSpackage.json
template.Expected Behavior
yarn install
andyarn build
should work without having to add aversion
to thepackage.json
To Reproduce
The text was updated successfully, but these errors were encountered: