turbo
turbo copied to clipboard
Differing Yarn versions with `create-turbo`
Verify canary release
- [X] I verified that the issue exists in the latest Turborepo canary release.
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
yarn dlx create-turbo@canary test-turbo-canary ➤ YN0000: · Yarn 4.2.2 ➤ YN0000: ┌ Resolution step ➤ YN0085: │ + create-turbo@npm:2.0.3-canary.0, @tootallnate/quickjs-emscripten@npm:0.23.0, and 104 more. ➤ YN0000: └ Completed in 1s 457ms ➤ YN0000: ┌ Fetch step ➤ YN0013: │ 106 packages were added to the project (+ 13.68 MiB). ➤ YN0000: └ Completed ➤ YN0000: ┌ Link step ➤ YN0000: └ Completed ➤ YN0000: · Done in 1s 583ms
TURBOREPO
Welcome to Turborepo! Let's get you set up with a new codebase.
? Which package manager do you want to use? yarn workspaces
Downloading files. This might take a moment.
Created a new Turborepo with the following:
apps
- apps/docs
- apps/web packages
- packages/eslint-config
- packages/typescript-config
- packages/ui
Installing packages. This might take a couple of minutes.
Installing dependencies...
Unexpected error. Please report it as a bug: Error: Command failed with exit code 1: yarn install warning workspace-aggregator-02bbff1e-c07a-4fed-8f61-7993e830add9 > docs > eslint > @humanwhocodes/[email protected]: Use @eslint/config-array instead warning workspace-aggregator-02bbff1e-c07a-4fed-8f61-7993e830add9 > docs > eslint > @humanwhocodes/config-array > @humanwhocodes/[email protected]: Use @eslint/object-schema instead warning workspace-aggregator-02bbff1e-c07a-4fed-8f61-7993e830add9 > @repo/ui > @turbo/gen > node-plop > globby > [email protected]: Glob versions prior to v9 are no longer supported warning workspace-aggregator-02bbff1e-c07a-4fed-8f61-7993e830add9 > docs > eslint > file-entry-cache > flat-cache > [email protected]: Rimraf versions prior to v4 are no longer supported warning workspace-aggregator-02bbff1e-c07a-4fed-8f61-7993e830add9 > @repo/ui > @turbo/gen > @turbo/workspaces > [email protected]: Rimraf versions prior to v4 are no longer supported warning workspace-aggregator-02bbff1e-c07a-4fed-8f61-7993e830add9 > @repo/ui > @turbo/gen > node-plop > del > [email protected]: Rimraf versions prior to v4 are no longer supported warning workspace-aggregator-02bbff1e-c07a-4fed-8f61-7993e830add9 > docs > eslint > file-entry-cache > flat-cache > rimraf > [email protected]: Glob versions prior to v9 are no longer supported warning workspace-aggregator-02bbff1e-c07a-4fed-8f61-7993e830add9 > @repo/ui > @turbo/gen > node-plop > globby > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. warning [email protected]: The engine "libvips" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "macos" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "macos" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "musl" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "musl" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "musl" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "musl" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning @img/[email protected]: The engine "pnpm" appears to be invalid. warning @img/[email protected]: The engine "glibc" appears to be invalid. warning "@repo/eslint-config > [email protected]" has unmet peer dependency "eslint@>=7.0.0". warning "@repo/eslint-config > [email protected]" has unmet peer dependency "eslint@>6.6.0". warning "@repo/eslint-config > eslint-config-turbo > [email protected]" has unmet peer dependency "eslint@>6.6.0". warning "@repo/eslint-config > @vercel/style-guide > @babel/[email protected]" has unmet peer dependency "eslint@^7.5.0 || ^8.0.0 || ^9.0.0". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" has unmet peer dependency "eslint@*". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" has unmet peer dependency "eslint@>=4.19.1". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" has unmet peer dependency "eslint@>=7". warning "@repo/eslint-config > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^8.56.0". warning "@repo/eslint-config > @vercel/style-guide > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" has unmet peer dependency "eslint@^7.5.0 || ^8.0.0". warning "@repo/eslint-config > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^8.56.0". warning "@repo/eslint-config > @vercel/style-guide > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" has unmet peer dependency "eslint@>=8.44.0". warning "@repo/eslint-config > @vercel/style-guide > [email protected]" 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 "@repo/eslint-config > @vercel/style-guide > eslint-plugin-jest > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || ^8.0.0". warning "@repo/eslint-config > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^8.56.0". warning "@repo/eslint-config > @vercel/style-guide > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0". warning "@repo/eslint-config > @vercel/style-guide > eslint-plugin-unicorn > @eslint-community/[email protected]" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || >=8.0.0". warning "@repo/eslint-config > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^8.56.0". warning "@repo/eslint-config > @vercel/style-guide > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0". warning Error running install script for optional dependency: "/Users/angelluis/Repos/Learn/sina/test-turbo-canary/node_modules/sharp: Cannot find module 'pnpapi' Require stack:
- /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js
- /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/bin/yarn.js Require stack:
- /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js
- /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/bin/yarn.js" error Error: /Users/angelluis/Repos/Learn/sina/test-turbo-canary/node_modules/core-js-pure: Cannot find module 'pnpapi' Require stack:
- /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js
- /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/bin/yarn.js Require stack:
- /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js
- /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/bin/yarn.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at require$$0.Module._resolveFilename (/private/var/folders/70/x1_phbj50v7d91p22wfkx4b40000gn/T/e5a74f8e86cd01ca3594ce43bc82f10d.cjs:6680:54)
at require.resolve (/Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/lib/v8-compile-cache.js:162:23)
at /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:34245:76
at Generator.next (
) at step (/Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:310:30) at /Users/angelluis/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:321:13 yarn install v1.22.22 info No lockfile found. [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... [4/5] Linking dependencies... [5/5] Building fresh packages... info This module is OPTIONAL, you can safely ignore this error info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. at QB (/private/var/folders/70/x1_phbj50v7d91p22wfkx4b40000gn/T/xfs-e8b3fd8e/dlx-66427/.yarn/cache/create-turbo-npm-2.0.3-canary.0-683a4de2c0-4c9b107cf4.zip/node_modules/create-turbo/dist/cli.js:12:57) at /private/var/folders/70/x1_phbj50v7d91p22wfkx4b40000gn/T/xfs-e8b3fd8e/dlx-66427/.yarn/cache/create-turbo-npm-2.0.3-canary.0-683a4de2c0-4c9b107cf4.zip/node_modules/create-turbo/dist/cli.js:12:8077 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Fl (/private/var/folders/70/x1_phbj50v7d91p22wfkx4b40000gn/T/xfs-e8b3fd8e/dlx-66427/.yarn/cache/create-turbo-npm-2.0.3-canary.0-683a4de2c0-4c9b107cf4.zip/node_modules/create-turbo/dist/cli.js:60:2092) at async Command.y0 (/private/var/folders/70/x1_phbj50v7d91p22wfkx4b40000gn/T/xfs-e8b3fd8e/dlx-66427/.yarn/cache/create-turbo-npm-2.0.3-canary.0-683a4de2c0-4c9b107cf4.zip/node_modules/create-turbo/dist/cli.js:87:2101) at async Command.parseAsync (/private/var/folders/70/x1_phbj50v7d91p22wfkx4b40000gn/T/xfs-e8b3fd8e/dlx-66427/.yarn/cache/commander-npm-11.1.0-56e979613c-13cc6ac875.zip/node_modules/commander/lib/command.js:936:5)
To Reproduce
yarn dlx create-turbo@latest
or yarn dlx create-turbo@canary
node v20.14.0 yarn v1.22.22