Я следовал этому руководству по созданию клона WhatsApp на метеоре: https://angular-meteor.com/tutorials/whatsapp2/meteor/chats-mutations
и был в нижней части раздела 8. Я запустил
$meteor reset command
как указано в инструкции, однако, когда я запустил
$ npm run start
в терминале, я получил следующую ошибку:
=> Started proxy.
=> Errors prevented startup:
While building the application:
error: Could not resolve meteor.mainModule "server/main.js" in package.json
(os)
error: Could not resolve meteor.mainModule "client/main.js" in package.json
(web.browser)
error: Could not resolve meteor.mainModule "client/main.js" in package.json
(web.browser.legacy)
error: Could not resolve meteor.mainModule "client/main.js" in package.json
(web.cordova)
While determining active plugins:
error: conflict: two packages included in the app (barbatus:typescript and
typescript) are both trying to handle *.ts
error: conflict: two packages included in the app (barbatus:typescript and
typescript) are both trying to handle *.tsx
While loading plugin `compileFonts` from package `mys:fonts`:
<anonymous>: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at getConfig (packages/compileFonts/plugin.js:70:23)
at meteorInstall.node_modules.meteor.compileFonts.plugin.js
(packages/compileFonts/plugin.js:18:25)
at fileEvaluate
(packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
at require
(packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
at <runJavaScript-49>:17308:1
at <runJavaScript-49>:17314:3
While determining active plugins:
error: conflict: two packages included in the app (barbatus:typescript and
typescript) are both trying to handle *.ts
error: conflict: two packages included in the app (barbatus:typescript and
typescript) are both trying to handle *.tsx
While determining active plugins:
error: conflict: two packages included in the app (barbatus:typescript and
typescript) are both trying to handle *.ts
error: conflict: two packages included in the app (barbatus:typescript and
typescript) are both trying to handle *.tsx
While determining active plugins:
error: conflict: two packages included in the app (barbatus:typescript and
typescript) are both trying to handle *.ts
error: conflict: two packages included in the app (barbatus:typescript and
typescript) are both trying to handle *.tsx
=> Your application has errors. Waiting for file change.
=> Started MongoDB.
Что я должен сделать, чтобы решить эту проблему?
Если это поможет, я делаю этот проект в Visual Studio Code