Sveltekit: svelte-add is not working
See original GitHub issueDescribe the bug
When running nx add {sveltekit-app} --package {package}
it fails with error.
To Reproduce Steps to reproduce the behavior: I simply create a new project with sveltekit plugin:
nx g @nxext/sveltekit:app frontend
nx add frontend --package tailwindcss
Expected behavior Should work 😃
Additional context
❯ nx add frontend --package tailwindcss
➕ Svelte Add (Version 2022.01.19.00)
There is no valid Svelte project in this directory because there doesn't seem to be a bundler installed (Vite, Rollup, Snowpack, or webpack).
Create or find an existing issue at https://github.com/svelte-add/svelte-add/issues if this is wrong.
ERROR: Something went wrong in @nrwl/run-commands - Command failed: npx svelte-add tailwindcss
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Issues · svelte-add/svelte-add - GitHub
Easily add integrations and other functionality to Svelte apps - Issues ... svelte-add/scss creates a new vite.config.js for sveltekit apps that use ...
Read more >Announcing SvelteKit 1.0
After two years in development, SvelteKit has finally reached 1.0. As of today, it's the recommended way to build Svelte apps of all...
Read more >Getting an error when creating new svelte app using npm ...
I am not sure where you got the command from? It should be: npm create svelte@latest my-app See the guide here: kit.svelte.dev.
Read more >svelte-add - npm
Start using svelte-add in your project by running `npm i svelte-add`. There are 3 other projects in the npm registry using svelte-add.
Read more >Full Stack SvelteKit For Beginners - Joy of Code
To understand the problems meta-frameworks like SvelteKit solve we need to go ... Hydration is a term that means adding JavaScript to the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
see https://github.com/sveltejs/kit/issues/4052
Apparently, the value for
kit.vite.build.outDir
is controlled by svelte and cannot be customised. I’ll open an issue.