Skip to content
New issue

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

When I install sveltestrap I start getting an error #544

Closed
titleofliberty opened this issue May 24, 2023 · 2 comments
Closed

When I install sveltestrap I start getting an error #544

titleofliberty opened this issue May 24, 2023 · 2 comments

Comments

@titleofliberty
Copy link

I am using boilerplate that I found here: https://github.com/malipetek/svelte-nwjs-template
Which runs just fine.

But after I install sveltestrap I get the following error:

[!] Error: Package subpath './compiler.js' is not defined by "exports" in /home/marion/Documents/svelte-nwjs-app/node_modules/svelte/package.json
Error: Package subpath './compiler.js' is not defined by "exports" in /home/marion/Documents/svelte-nwjs-app/node_modules/svelte/package.json
at new NodeError (node:internal/errors:399:5)
at exportsNotFound (node:internal/modules/esm/resolve:361:10)
at packageExportsResolve (node:internal/modules/esm/resolve:697:9)
at resolveExports (node:internal/modules/cjs/loader:565:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:634:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1061:27)
at Function.Module._load (node:internal/modules/cjs/loader:920:27)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/marion/Documents/svelte-nwjs-app/node_modules/rollup-plugin-svelte/index.js:11:4)

Any suggestions?

@titleofliberty
Copy link
Author

Never mind. I found the answer here: Samuel-Martineau/generator-svelte#7

@titleofliberty
Copy link
Author

Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant