analogjs / analog

The fullstack meta-framework for Angular. Powered by Vite and Nitro
https://analogjs.org
MIT License
2.62k stars 252 forks source link

Nx workspace generation missing `analogAppName` #499

Closed cskiwi closed 1 year ago

cskiwi commented 1 year ago

Please provide the environment you discovered this bug in.

Windows 10 (however I don't think this is relevant) Terminal: bash

Which area/package is the issue in?

create-analog

Description

When creating a new nx project, you get an error regarding the name, It looks like this was introduced in the last update

Please provide the exception or error you saw

added 616 packages, and audited 617 packages in 36s

65 packages are looking for funding
  run `npm fund` for details

30 moderate severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

>  NX  Generating @analogjs/platform:preset

 >  NX   Required property 'analogAppName' is missing

 >  NX   Workspace creation failed, see above.

   Pass --verbose to see the stacktrace.

Other information

No response

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

cskiwi commented 1 year ago

ah running npx create-nx-workspace@latest --preset=@analogjs/platform (note the @latest) seems to resolve the issue