Open DanielKucal opened 7 months ago
I'll update it tomorrow evening sorry
Hey @DanielKucal nx 17 support just been released
@Jordan-Hall I've just tried it out. Installing with pnpm
failed (will open another PR for that), but worked with npm
. However, there's still some issue while trying to create an app:
% node --version
v20.10.0
% nx g create --verbose
> NX Running global Nx CLI with PNPM may have issues.
Prefer to use "pnpm" (https://pnpm.io/cli/exec) to execute commands in this workspace.
TIP create a shortcut such as: alias pnx="pnpm nx --"
> NX Generating @nx-bun/nx:create
✔ What name would you like to use? · api
✔ What name would you like to use? · api
✔ Is this an application or a library? · application
✔ What should be the project name and where should it be generated? · api @ apps/api
In Nx 18, generating projects will no longer derive the name and root.
Please provide the exact project name and root in the future.
Example: nx g @nx-bun/nx:create api --directory apps/api
error: could not determine executable to run for package create-api
> NX child process exited with code 1
Error: child process exited with code 1
at ChildProcess.<anonymous> (/nx-monorepo/packages/nx-bun/src/utils/bun-cli.ts:187:20)
at ChildProcess.emit (node:events:514:28)
at maybeClose (node:internal/child_process:1105:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)
Thank you! Sorry I dont use PNPM anymore only bun and npm. If you can open a ticket that would be great otherwise i'll resolve this tonight. Working on publishable libs tonight which should be finished and new release in
Describe the bug With NX v17 there's a dependencies conflict for @nx/devkit package
And after --force install, there's an error:
To Reproduce Steps to reproduce the behavior:
npm i @nx-bun/nx --include=dev
ornpm i @nx-bun/nx --include=dev --force
and thennx g create
applicationExpected behavior I'd expect it to not break with new NX versions or maybe it could provide custom executor for bun to store it locally?