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

Error: Cannot find module 'svelte/store.mjs' #3048

Closed
shivchawla opened this issue Jun 19, 2019 · 2 comments
Closed

Error: Cannot find module 'svelte/store.mjs' #3048

shivchawla opened this issue Jun 19, 2019 · 2 comments

Comments

@shivchawla
Copy link

I am trying to work with svelma
I followed the development instructions and ended up with ...

Error: Cannot find module 'svelte/store.mjs'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
    at Function.Module._load (internal/modules/cjs/loader.js:520:25)
    at Module.require (internal/modules/cjs/loader.js:650:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/Users/skc/svelma/docs/__sapper__/dev/server/server.js:11:17)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    at Module.load (internal/modules/cjs/loader.js:612:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    at Function.Module._load (internal/modules/cjs/loader.js:543:3)
@Conduitry
Copy link
Member

Do you have code somewhere that's importing from svelte/store.mjs? You should be importing from svelte/store.

@shivchawla
Copy link
Author

Thanks! That worked!

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

2 participants