我无法使用“ npm run dev”来编译我的Svelte应用程序

时间:2019-10-21 19:31:12

标签: svelte

我在几个月未使用的应用程序上运行了NPM Update。现在它将无法构建。

我不知道该怎么办,请帮忙!!!

PS C:\Dev2019\ticketssql\tickets-sap> npm run dev

> tickets@1.37.64 dev C:\Dev2019\ticketssql\tickets-sap
> update-v -p && sapper dev

+ "tickets" -> v1.37.65
✗ server
Could not resolve entry module (undefined\server.js).
✗ client
Could not resolve entry module (undefined\client.js).
✗ service worker
Could not resolve entry module (undefined\service-worker.js).
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'C:\Dev2019\ticketssql\tickets-sap\__sapper__\dev\server\server.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
> Server crashed

0 个答案:

没有答案