Ошибка развертывания Heroku - последующие объявления свойств должны иметь одинаковый тип - PullRequest
0 голосов
/ 21 октября 2019

Я раздвоил копию игры и добавил кнопку развертывания heroku, при попытке развернуть ее возникла проблема, и сборка не удалась. Я не понимаю ошибку и надеялся, что кто-то может помочь мне исправить ее.

Вот часть журнала сборки, где она терпит неудачу.

[4/4] Building fresh packages...
   $ tsc && cd client/ && yarn && yarn build
   node_modules/@types/passport-strategy/node_modules/@types/passport/index.d.ts(21,13): error TS2717: Subsequent property declarations must have the same type.  Property 'authInfo' must be of type 'any', but here has type 'AuthInfo | undefined'.
   node_modules/@types/passport-strategy/node_modules/@types/passport/index.d.ts(22,13): error TS2717: Subsequent property declarations must have the same type.  Property 'user' must be of type 'any', but here has type 'User | undefined'.
error Command failed with exit code 2.
       info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
       info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-----> Build failed

Это ссылка на мой разветвленныйрепо на тот случай, если вы захотите посмотреть на источник: https://github.com/CookieCoder15/skribblish

...