nx-extensions
nx-extensions copied to clipboard
Sveltekit: generate project fails
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:
- Install
@nxext/sveltekitplugin in your workspace - Generate a new sveltekit project:
npx nx g @nxext/sveltekit:app foo
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.
Any updates on when the PR will be merged?
Anyone going to merge this?!?!?!
@DominikPieper any chance you can address the sveltekit merge
@algoflows the sveltekit package is going to be completely refactored with the new @nrwl/vite package
Nice, is there a timeline for this?
Not really, hopefully, it’s ready soon but it depends on how much time I have to spend
Any way to help this along?
Keep eyes on this and look forward to the update.