Это блог-приложение MERN-стека с Redis, загрузкой изображений aws s3 и шутливым тестированием.Я развернул его в Heroku, он успешно строится и также развертывается без каких-либо ошибок, но все еще не отвечает в браузере.
Здесь я прилагаю журналы.
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NODE_ENV=production
NODE_MODULES_CACHE=true
NODE_VERBOSE=false
-----> Installing binaries
engines.node (package.json): unspecified
engines.npm (package.json): unspecified (use default)
Resolving node version 10.x...
Downloading and installing node 10.16.0...
Using default npm version: 6.9.0
-----> Restoring cache
- node_modules
-----> Installing dependencies
Installing node modules (package.json + package-lock)
audited 12908 packages in 9.021s
found 858 vulnerabilities (414 low, 382 moderate, 62 high)
run `npm audit fix` to fix them, or `npm audit` for details
-----> Build
Detected both "build" and "heroku-postbuild" scripts
Running heroku-postbuild
> server@1.0.0 heroku-postbuild /tmp/build_7504f49ac77d9c3813e48575b1bea2e6
> npm run build
> server@1.0.0 build /tmp/build_7504f49ac77d9c3813e48575b1bea2e6
> NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client
added 1113 packages from 731 contributors and audited 11282 packages in 29.736s
found 814 vulnerabilities (434 low, 324 moderate, 55 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
> client@0.1.0 build /tmp/build_7504f49ac77d9c3813e48575b1bea2e6/client
> react-scripts build
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
121.12 KB build/static/js/main.c128d2aa.js
21.7 KB build/static/css/main.457760fd.css
The project was built assuming it is hosted at the server root.
To override this, specify the homepage in your package.json.
For example, add this to build it for GitHub Pages:
"homepage" : "http://myname.github.io/myapp",
The build folder is ready to be deployed.
You may serve it with a static server:
npm install -g serve
serve -s build
-----> Caching build
- node_modules
-----> Pruning devDependencies
audited 12908 packages in 7.65s
found 858 vulnerabilities (414 low, 382 moderate, 62 high)
run `npm audit fix` to fix them, or `npm audit` for details
-----> Build succeeded!
-----> Discovering process types
Procfile declares types -> (none)
Default types for buildpack -> web
-----> Compressing...
Done: 150.4M
-----> Launching...
Released v11
https://blogster-mern.herokuapp.com/ deployed to Heroku
Пожалуйста, мне нужно решить эту проблему- Невозможно найти этот сайт. Не удалось найти IP-адрес сервера blogster-mern.herokuapp.com.DNS_PROBE_FINISHED_NXDOMAIN