-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[turborepo] with-nextjs example - outdated next.config.js #3419
Comments
This should have been fixed with #3167 Can you make sure you're using This is no longer an experimental config option. |
Hm. Here is the output 🤔 ➜ code npx degit vercel/turbo/examples/with-docker with-docker-example
> cloned vercel/turbo#HEAD to with-docker-example
➜ code cd with-docker-example
➜ with-docker-example yarn install
yarn install v1.22.19
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
warning "eslint-config-custom > eslint-config-prettier@8.5.0" has unmet peer dependency "eslint@>=7.0.0".
warning "eslint-config-custom > eslint-plugin-react@7.28.0" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8".
warning "eslint-config-custom > eslint-config-turbo@0.0.4" has unmet peer dependency "eslint@^7.23.0 || ^8.0.0".
warning "eslint-config-custom > eslint-config-turbo > eslint-plugin-turbo@0.0.4" has unmet peer dependency "eslint@^7.23.0 || ^8.0.0".
warning "eslint-config-custom > eslint-config-next@13.1.4" has unmet peer dependency "eslint@^7.23.0 || ^8.0.0".
warning "eslint-config-custom > eslint-config-next > eslint-plugin-import@2.26.0" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8".
warning "eslint-config-custom > eslint-config-next > eslint-plugin-jsx-a11y@6.6.1" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8".
warning "eslint-config-custom > eslint-config-next > eslint-plugin-react@7.31.11" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8".
warning "eslint-config-custom > eslint-config-next > eslint-plugin-react-hooks@4.6.0" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0".
warning "eslint-config-custom > eslint-config-next > eslint-import-resolver-typescript@3.5.3" has unmet peer dependency "eslint@*".
warning "eslint-config-custom > eslint-config-next > @typescript-eslint/parser@5.48.2" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || ^8.0.0".
warning "eslint-config-custom > eslint-config-next > @typescript-eslint/parser > @typescript-eslint/typescript-estree > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "workspace-aggregator-1c784d45-4b7b-4787-9d90-9e8d495a3e5c > jest-presets > ts-jest@26.5.6" has unmet peer dependency "jest@>=26 <27".
warning "workspace-aggregator-1c784d45-4b7b-4787-9d90-9e8d495a3e5c > jest-presets > ts-jest@26.5.6" has unmet peer dependency "typescript@>=3.8 <5.0".
[5/5] 🔨 Building fresh packages...
success Saved lockfile.
✨ Done in 5.13s.
➜ with-docker-example cat apps/web/package.json
{
"name": "web",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"start": "next start"
},
"dependencies": {
"next": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ui": "*"
},
"devDependencies": {
"@types/node": "^17.0.12",
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"eslint": "7.32.0",
"eslint-config-custom": "*",
"tsconfig": "*",
"typescript": "^4.5.3"
}
}
➜ with-docker-example |
Looks like we missed a lock, PR is up to fix the example, but in the meantime this can be fixed in the |
Fixes #3419 Updates Next.js to latest so we get support for experimental `transpilePackages`
What version of Turborepo are you using?
1.7.0
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
Running
yarn build
in the repo we are getting following output:Expected Behavior
All with-nextjs examples are using outdated
next.config.js
.Instead of:
Need to refactor to this:
To Reproduce
Clone any nextjs example and try to build it.
Reproduction Repo
No response
The text was updated successfully, but these errors were encountered: