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
npx create-nx-workspace --pm yarn
NX Let's create a new workspace [https://nx.dev/getting-started/intro]
✔ Where would you like to create your workspace? · Org
✔ Which stack do you want to use? · react
✔ What framework would you like to use? · react-native
✔ Application name · mobile
✔ Test runner to use for end to end (E2E) tests · playwright
✔ Which CI provider would you like to use? · skip
✔ Would you like remote caching to make your build faster? · yes
✔ Will you be using GitHub as your git hosting provider? · Yes
NX Creating your v19.8.3 workspace.
✔ Installing dependencies with yarn
✖ Creating your workspace in Org
NX Failed to create a workspace.
Exit code: 1
Log file: /var/folders/1m/sv50vh4s6l5fkn_hq_9g_xn00000gp/T/tmp-79467-08gEWEIyk7Si/error.log
And my error log looks like this
yarn run v1.22.22
$ /private/var/folders/1m/sv50vh4s6l5fkn_hq_9g_xn00000gp/T/tmp-79467-08gEWEIyk7Si/node_modules/.bin/nx new --pm=yarn --packageManager=yarn --interactive --standaloneApi --routing --no-skipGit --no-g '--commit.message=Initial commit' --no-allPrompts --no-a --useGitHub --/bin/sh=/Users/n.vinay/.npm/_npx/d2207cf76adb22dc/node_modules/.bin/create-nx-workspace --name=Org --stack=react --preset=react-native --appName=mobile --no-nextAppDir --no-nextSrcDir --e2eTestRunner=playwright --nxCloud=yes --defaultBase=main --nxWorkspaceRoot=/Users/n.vinay/Work/Monorepo
Resolving 1.22.22 to a url...
Downloading https://github.com/yarnpkg/yarn/releases/download/v1.22.22/yarn-1.22.22.js...
Saving it into /Users/n.vinay/Work/Monorepo/Org/.yarn/releases/yarn-1.22.22.cjs...
Updating /Users/n.vinay/Work/Monorepo/Org/.yarnrc...
Done!
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
$ /Users/n.vinay/Work/Monorepo/Org/node_modules/.bin/nx g @nx/workspace:preset --name=mobile --style=css --linter=eslint --preset=react-native --nextAppDir=false --nextSrcDir=false --packageManager=yarn --standaloneApi=true --interactive=true --routing=true --e2eTestRunner=playwright --nxCloudToken=66ff7c5b6e46622bb2fb2b37
NX Generating @nx/workspace:preset
Fetching prettier...
Fetching @nx/webpack...
NX Unable to read the target configuration for the provided build target, mobile:build
Are you sure this target exists?
Pass --verbose to see the stacktrace.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
NX Workspace creation failed, see above.
Pass --verbose to see the stacktrace.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
warning @nx/react-native > [email protected]: Glob versions prior to v9 are no longer supported
warning @nx/react-native > 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 @nx/react-native > @nx/jest > @jest/reporters > [email protected]: Glob versions prior to v9 are no longer supported
warning @nx/react-native > @nx/jest > @jest/reporters > 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 @nx/react-native > @nx/jest > jest-config > [email protected]: Glob versions prior to v9 are no longer supported
warning @nx/react-native > @nx/jest > jest-config > jest-runner > jest-runtime > [email protected]: Glob versions prior to v9 are no longer supported
warning @nx/react-native > @nx/jest > @jest/reporters > @jest/transform > babel-plugin-istanbul > test-exclude > [email protected]: Glob versions prior to v9 are no longer supported
warning "@nx/react-native > @nx/js > [email protected]" has unmet peer dependency "@types/node@*".
warning "@nx/react-native > @nx/js > [email protected]" has unmet peer dependency "typescript@>=2.7".
warning "@nx/react-native > @nx/jest > @phenomnomnominal/[email protected]" has unmet peer dependency "typescript@^3 || ^4 || ^5".
warning "@nx/react-native > @nx/react > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "@nx/react-native > @nx/[email protected]" has unmet peer dependency "eslint@^8.0.0 || ^9.0.0".
warning "@nx/react-native > @nx/react > @module-federation/enhanced > @module-federation/[email protected]" has unmet peer dependency "typescript@^4.9.0 || ^5.0.0".
warning "@nx/react-native > @nx/react > @module-federation/enhanced > @module-federation/[email protected]" has unmet peer dependency "react@>=16.9.0".
warning "@nx/react-native > @nx/react > @module-federation/enhanced > @module-federation/[email protected]" has unmet peer dependency "react-dom@>=16.9.0".
error Command failed with exit code 1.
error Command failed with exit code 1.
Originally posted by @nvinay-litmus7 in #28235
The text was updated successfully, but these errors were encountered: