React i Heroku

0

Witam. Niedawno skończyłem aplikację internetową, gdzie front został napisany w bibliotece React. Chcę pochwalić się przed znajomymi, dlatego też zamierzam ją wdrożyć na zewnętrzny serwer. Pomocną dłoń w tym wypadku wyciąga Heroku, gdzie możemy zdeployować naszą aplikację. Problem jest jednak w tym, że wraz z użyciem komendy git push heroku master pojawia się komunikat o błędzie, który brzmi następująco:

   /tmp/build_86f8944052b155f5dae1ed439bfddbf1/node_modules/grunt/lib/util/findup.js:17
remote:          if (path.existsSync(filepath)) { return filepath; }
remote:                   ^
remote:
remote:        TypeError: path.existsSync is not a function
remote:            at findup (/tmp/build_86f8944052b155f5dae1ed439bfddbf1/node_modules/grunt/lib/util/findup.js:17:12)
remote:            at Object.<anonymous> (/tmp/build_86f8944052b155f5dae1ed439bfddbf1/node_modules/grunt/bin/grunt:10:24)
remote:            at Module._compile (internal/modules/cjs/loader.js:688:30)
remote:            at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
remote:            at Module.load (internal/modules/cjs/loader.js:598:32)
remote:            at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
remote:            at Function.Module._load (internal/modules/cjs/loader.js:529:3)
remote:            at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
remote:            at startup (internal/bootstrap/node.js:285:19)
remote:            at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)

Próbowałem deployować aplikację posługując się tym poradnikiem: https://dev.to/smithmanny/deploy-your-react-app-to-heroku-2b6f. Niestety, ciągle pojawia się ten problem. Jeżeli ktokolwiek wie, w jaki sposób poprawnie wdrożyć aplikację prosiłbym o jakąkolwiek wskazówkę.

0

podaj link do github

1 użytkowników online, w tym zalogowanych: 0, gości: 1