nxext / nx-extensions

Nx Extensions for Stencil, Svelte, SolidJS, Preact, Ionic, and Capacitor
MIT License
467 stars 102 forks source link

Sveltekit: generate project fails #799

Open bgourlie opened 2 years ago

bgourlie commented 2 years ago

Describe the bug

Generating a new sveltekit project results in the following:

>  NX   Cannot find module '@angular-devkit/schematics'

   Require stack:
   - /Users/brian/Repos/bbot/node_modules/@nrwl/workspace/src/utils/ast-utils.js
   - /Users/brian/Repos/bbot/node_modules/@nrwl/workspace/src/utils/project-type.js
   - /Users/brian/Repos/bbot/node_modules/@nrwl/workspace/index.js
   - /Users/brian/Repos/bbot/node_modules/@nxext/sveltekit/src/generators/application/generator.js
   - /Users/brian/Repos/bbot/node_modules/nx/src/config/workspaces.js
   - /Users/brian/Repos/bbot/node_modules/nx/src/config/configuration.js
   - /Users/brian/Repos/bbot/node_modules/nx/src/command-line/generate.js
   - /Users/brian/Repos/bbot/node_modules/nx/src/command-line/nx-commands.js
   - /Users/brian/Repos/bbot/node_modules/nx/bin/init-local.js
   - /Users/brian/Repos/bbot/node_modules/nx/bin/nx.js
   Pass --verbose to see the stacktrace.

To Reproduce Steps to reproduce the behavior:

Expected behavior A project should be created without error.

Additional context Observed in version 14.0.0-next.2. This might affect other plugins in the monorepo as well. Issue not detected in e2e tests presumably because it can resolve the dependency from the project node_modules.

PatchOnKnee commented 2 years ago

Any updates on when the PR will be merged?

algoflows commented 1 year ago

Anyone going to merge this?!?!?!

algoflows commented 1 year ago

@DominikPieper any chance you can address the sveltekit merge

DominikPieper commented 1 year ago

@algoflows the sveltekit package is going to be completely refactored with the new @nrwl/vite package

algoflows commented 1 year ago

Nice, is there a timeline for this?

DominikPieper commented 1 year ago

Not really, hopefully, it’s ready soon but it depends on how much time I have to spend

thepian commented 1 year ago

Any way to help this along?

Jedliu commented 1 year ago

Keep eyes on this and look forward to the update.