We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am having troubles with my build. I keep getting this error message:
[snowpack] ! installing dependencies... [snowpack] Failed to load node_modules/svelte-router-spa/src/components/navigate.svelte Try installing rollup-plugin-svelte and adding it to Snowpack (https://www.snowpack.dev/#custom-rollup-plugins) [snowpack] Install failed.
Here is my snowpack.config.js file
module.exports = { plugins: ['@snowpack/plugin-webpack', '@snowpack/plugin-svelte'], installOptions: { rollup: { plugins: [require('rollup-plugin-svelte')()] } }, extends: '@snowpack/app-scripts-svelte', proxy: { '/api': 'http://localhost:3000/api', }, devOptions: { out: 'dist/', port: 4242, }, buildOptions: { baseUrl: 'dist/', }, alias: { '@components': './src/components', '@state': './src/state', '@features': './src/features', '@models': './src/models', '@themes': './src/themes', }, }
Am I doing this wrong? Thanks in advance for your help.
Versions : "rollup-plugin-svelte": "^7.0.0". "snowpack": "^2.18.4". "svelte-router-spa": "^5.8.3"
The text was updated successfully, but these errors were encountered:
Hi @nezlicodes
I haven't used snowpack in any project yet so I'm not sure what the problem could be.
Could it be just an order issue and you need to have installOptins before plugins ? Just guessing.
installOptins
plugins
Sorry, something went wrong.
No branches or pull requests
I am having troubles with my build. I keep getting this error message:
Here is my snowpack.config.js file
Am I doing this wrong?
Thanks in advance for your help.
Versions :
"rollup-plugin-svelte": "^7.0.0".
"snowpack": "^2.18.4".
"svelte-router-spa": "^5.8.3"
The text was updated successfully, but these errors were encountered: