nstudio / xplat

Cross-platform (xplat) tools for Nx workspaces.
MIT License
366 stars 52 forks source link

Nx 16.7 - followup prompts - Use 16.6 #323

Closed NathanWalker closed 1 year ago

NathanWalker commented 1 year ago

Nx 16.7 was just released yesterday which added some followup prompts on lib creation which causes an issue with generation.

You can simply use Nx 16.6 for now with the following:

npx create-nx-workspace@16.6 workspace-name

cd workspace-name
npm install @nx/js@16.6 -D    
npx nx g @nx/js:init  

npm install @nstudio/xplat -D 

npx nx g @nstudio/xplat:app    

Take special note of the npm install @nx/js@16.6 -D which installs a matching workspace version.