goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.22k stars 133 forks source link

can't create workspace #140

Closed draylegend closed 6 months ago

draylegend commented 6 months ago

Please provide the environment you discovered this bug in.

debian 12 node 20.11.0 npm 10.2.4

Which area/package is the issue in?

Don't know / other

Description

can't create workspace with npx create-nx-workspace crm --preset=@analogjs/platform

Please provide the exception or error you saw

$ npx create-nx-workspace crm --preset=@analogjs/platform

 >  NX   Let's create a new workspace [https://nx.dev/getting-started/intro]

✔ Do you want Nx Cloud to make your CI fast? · github

 >  NX   Creating your v17.3.0 workspace.

   To make sure the command works reliably in all environments, and that the preset is applied correctly,
   Nx will run "npm install" several times. Please wait.

✔ Installing dependencies with npm
✔ Successfully created the workspace: crm.
✔ What name would you like to use for your Analog app? · crm
✔ Add TailwindCSS for styling? (Y/n) · true
✔ Add tRPC for typesafe client/server interaction? (y/N) · true
Angular has not been installed yet. Creating an Angular application
Fetching @nx/angular...
Fetching @angular-devkit/core...

 >  NX   Invalid version. Must be a string. Got type "object".

   Pass --verbose to see the stacktrace.

 >  NX   Failed to apply preset: @analogjs/platform

   See above

Other information

No response

I would be willing to submit a PR to fix this issue

goetzrobin commented 6 months ago

@draylegend this seems to be an Analog issue. Can you open this issue in that repository? I'll take a look over there