DEV Community

Discussion on: Use TypeScript with Svelte / Sapper

Collapse
 
tezine profile image
Bruno Tezine

Thank you for the tutorial Markus!
I tried to use it, but it gives the error below:

Error: Cannot find module 'C:\sapper-with-ts-sample_sapper_\dev\server\server.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Function.executeUserEntryPoint as runMain
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []

Any ideas?

Collapse
 
dirkwolthuis profile image
Dirk H. Wolthuis

Same here!

Collapse
 
j05j4 profile image
Josja Heerema • Edited

You might want to do a

npm install

or

yarn