Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing version in workspace for a new nextjs app in turborepo. #34059

Closed
tvarwig opened this issue Feb 7, 2022 · 2 comments
Closed

Missing version in workspace for a new nextjs app in turborepo. #34059

tvarwig opened this issue Feb 7, 2022 · 2 comments
Labels
bug Issue was opened via the bug report template.

Comments

@tvarwig
Copy link

tvarwig commented Feb 7, 2022

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 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

To Reproduce

npx create-turbo@latest &&
cd apps &&
npx create-next-app@latest --ts my-app &&
yarn install
@tvarwig tvarwig added the bug Issue was opened via the bug report template. label Feb 7, 2022
@balazsorban44
Copy link
Member

balazsorban44 commented Feb 8, 2022

This has been fixed in #33006, issue is duplicate of #32713

Please use npx create-next-app@canary for now or wait for the next latest release.

@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

2 participants