heroku node deployment(react-boilerplate) sh: 1: node-pre-gyp: not found errorHow to fix an error when installing a PhantomJS bridge for node.js on Windows 7 64-bit?NPM installation of plugin gives GYP errorsMeteor fails. error: couldn't install npm packages from npm-shrinkwrapDeploy react app on heroku with webpack troublesUNMET PEER DEPENDENCY webpack when using rollupNode-gyp. MSBuild.exe` failed with exit code: 1Node ldap-client installation errorGot an error while executing “create-react-app my-app”How to install node-openalpr in windows 10react-boilerplate yarn start:prod This site can’t be reached localhost refused to connect. http://localhost:3000 => https://localhost/

How do I repair my stair bannister?

What is the term when two people sing in harmony, but they aren't singing the same notes?

Can I create an upright 7-foot × 5-foot wall with the Minor Illusion spell?

Are Warlocks Arcane or Divine?

Can a Bard use an arcane focus?

Why is delta-v is the most useful quantity for planning space travel?

Could solar power be utilized and substitute coal in the 19th century?

How to check participants in at events?

Reply ‘no position’ while the job posting is still there (‘HiWi’ position in Germany)

Organic chemistry Iodoform Reaction

Perfect riffle shuffles

Resetting two CD4017 counters simultaneously, only one resets

In Star Trek IV, why did the Bounty go back to a time when whales were already rare?

Are taller landing gear bad for aircraft, particulary large airliners?

Identify a stage play about a VR experience in which participants are encouraged to simulate performing horrific activities

Installing PowerShell on 32-bit Kali OS fails

Why are on-board computers allowed to change controls without notifying the pilots?

Stereotypical names

Giant Toughroad SLR 2 for 200 miles in two days, will it make it?

How will losing mobility of one hand affect my career as a programmer?

Books on the History of math research at European universities

node command while defining a coordinate in TikZ

Simple recursive Sudoku solver

What to do when my ideas aren't chosen, when I strongly disagree with the chosen solution?



heroku node deployment(react-boilerplate) sh: 1: node-pre-gyp: not found error


How to fix an error when installing a PhantomJS bridge for node.js on Windows 7 64-bit?NPM installation of plugin gives GYP errorsMeteor fails. error: couldn't install npm packages from npm-shrinkwrapDeploy react app on heroku with webpack troublesUNMET PEER DEPENDENCY webpack when using rollupNode-gyp. MSBuild.exe` failed with exit code: 1Node ldap-client installation errorGot an error while executing “create-react-app my-app”How to install node-openalpr in windows 10react-boilerplate yarn start:prod This site can’t be reached localhost refused to connect. http://localhost:3000 => https://localhost/













0















I'm getting error when deploying react-boilerplate on heroku with feathers, nodejs, mongodb, react. I specified up to date versions in package.json, and tried building with both npm and yarn but both fail. I appreciate your help!



 "engines": 
"npm": ">=6.4.1",
"node": ">=v8.12.0",
"yarn": ">=1.10.1"
,


trial 1:
install with npm. error: sh: 1: node-pre-gyp: not found



 NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=true
YARN_PRODUCTION=false
NODE_VERBOSE=false
NODE_ENV=production
NODE_MODULES_CACHE=true

-----> Installing binaries
engines.node (package.json): >=v8.12.0
engines.npm (package.json): >=6.4.1

Resolving node version >=v8.12.0...
Downloading and installing node 10.12.0...
Bootstrapping npm >=6.4.1 (replacing 6.4.1)...
npm >=6.4.1 installed
Resolving yarn version >=1.10.1...
Downloading and installing yarn (1.12.0)...
Installed yarn 1.12.0

> grpc@1.15.1 install /tmp/build_e7799f363b624e57eda6680a757c4fd4/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

sh: 1: node-pre-gyp: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! grpc@1.15.1 install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the grpc@1.15.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


trial 2:
install with yarn. error: Error: spawn webpack ENOENT



 NPM_CONFIG_LOGLEVEL=error
YARN_PRODUCTION=true
NODE_VERBOSE=false
NODE_ENV=production
NODE_MODULES_CACHE=true

-----> Installing binaries
engines.node (package.json): >=v8.12.0
engines.npm (package.json): >=6.4.1
engines.yarn (package.json): >=1.10.1

Resolving node version >=v8.12.0...
Downloading and installing node 10.12.0...
Bootstrapping npm >=6.4.1 (replacing 6.4.1)...
npm >=6.4.1 installed
Resolving yarn version >=1.10.1...
Downloading and installing yarn (1.12.0)...
Installed yarn 1.12.0


> seunghunlee-software@3.6.0 build /tmp/build_edb00e4a7279e6636f35f9ea79a9d0f8
> cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout

events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn webpack ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
at onErrorNT (internal/child_process.js:407:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
at onErrorNT (internal/child_process.js:407:16)
[... lines matching original stack trace ...]
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)


//package.json



 "dependencies": 
"@feathersjs/authentication": "^2.0.1",
"@feathersjs/authentication-client": "^1.0.6",
"@feathersjs/authentication-jwt": "^2.0.0",
"@feathersjs/authentication-local": "^1.0.2",
"@feathersjs/authentication-oauth2": "^1.2.2",
"@feathersjs/client": "^3.7.3",
"@feathersjs/configuration": "^1.0.1",
"@feathersjs/errors": "^3.2.0",
"@feathersjs/express": "^1.1.2",
"@feathersjs/feathers": "^3.2.3",
"@feathersjs/socketio": "^3.0.1",
"@feathersjs/socketio-client": "^1.1.4",
"@google-cloud/vision": "^0.19.0",
"Dante2": "0.5.0-rc5",
"antd": "^3.10.1",
"apiai": "^4.0.3",
"axios": "^0.18.0",
"babel-polyfill": "6.26.0",
"body-parser": "^1.18.3",
"chalk": "2.4.1",
"compression": "1.7.2",
"cors": "^2.8.4",
"cross-env": "5.2.0",
"disqus-react": "^1.0.5",
"dotenv": "^6.0.0",
"draft-js": "^0.10.5",
"draftjs-to-html": "^0.8.4",
"express": "4.16.3",
"faker": "^4.1.0",
"feathers-mongoose": "^6.1.4",
"feathers-sync": "^1.0.3",
"fontfaceobserver": "2.0.13",
"googleapis": "^32.0.0",
"helmet": "^3.9.0",
"heroku-ssl-redirect": "^0.0.4",
"history": "4.7.2",
"hoist-non-react-statics": "2.5.5",
"html-to-draftjs": "^1.4.0",
"immutability-helper": "2.4.0",
"immutable": "3.8.2",
"intl": "1.2.5",
"invariant": "2.2.4",
"ip": "1.1.5",
"lodash": "4.17.10",
"lqip.macro": "^0.1.5",
"minimist": "1.2.0",
"moment": "^2.22.2",
"moment-range": "^4.0.1",
"mongoose": "^5.2.13",
"passport-facebook": "^2.1.1",
"passport-facebook-token": "^3.3.0",
"passport-google-oauth2": "^0.1.6",
"passport-google-oauth20": "^1.0.0",
"passport-google-token": "^0.1.2",
"pica": "^4.1.1",
"prismjs": "^1.15.0",
"prop-types": "15.6.1",
"react": "16.4.1",
"react-burger-menu": "^2.5.4",
"react-camera": "^0.1.3",
"react-color": "^2.14.1",
"react-cookie-consent": "^1.9.0",
"react-datepicker": "^1.4.1",
"react-dnd": "^2.6.0",
"react-dnd-html5-backend": "^2.6.0",
"react-dom": "16.4.1",
"react-draft-wysiwyg": "^1.12.13",
"react-ga": "^2.5.3",
"react-helmet": "5.2.0",
"react-ideal-image": "^0.0.5",
"react-image-gallery": "^0.8.6",
"react-images": "^0.5.13",
"react-intl": "2.4.0",
"react-lazyload": "^2.3.0",
"react-loadable": "5.4.0",
"react-redux": "5.0.7",
"react-router-dom": "4.3.1",
"react-router-redux": "5.0.0-alpha.9",
"react-typist": "^2.0.4",
"react-vis": "^1.9.2",
"reactcss": "^1.2.3",
"redux": "4.0.0",
"redux-form": "^7.3.0",
"redux-form-antd": "^1.0.5",
"redux-immutable": "4.0.0",
"redux-persist": "^5.9.1",
"redux-saga": "0.16.0",
"redux-thunk": "^2.3.0",
"reselect": "3.0.1",
"sanitize.css": "4.1.0",
"serve-favicon": "^2.4.5",
"socket.io": "^2.0.4",
"socket.io-client": "^2.1.1",
"spotify-web-api-node": "^3.1.1",
"styled-components": "3.3.2",
"uuid": "^3.3.2",
"voucher-code-generator": "^1.1.1",
"warning": "4.0.1",
"web3": "^1.0.0-beta.36",
"whatwg-fetch": "2.0.4",
"winston": "^3.0.0"
,
"devDependencies":
"add-asset-html-webpack-plugin": "2.1.3",
"babel-cli": "6.26.0",
"babel-core": "6.26.3",
"babel-eslint": "8.2.3",
"babel-loader": "7.1.4",
"babel-plugin-dynamic-import-node": "1.2.0",
"babel-plugin-import": "^1.10.0",
"babel-plugin-react-intl": "2.4.0",
"babel-plugin-react-transform": "3.0.0",
"babel-plugin-styled-components": "1.5.1",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
"babel-plugin-transform-react-constant-elements": "6.23.0",
"babel-plugin-transform-react-inline-elements": "6.22.0",
"babel-plugin-transform-react-jsx-source": "6.22.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.13",
"babel-preset-env": "1.7.0",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"circular-dependency-plugin": "5.0.2",
"coveralls": "3.0.1",
"css-loader": "0.28.11",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"enzyme-to-json": "3.3.4",
"eslint": "4.19.1",
"eslint-config-airbnb": "16.1.0",
"eslint-config-airbnb-base": "12.1.0",
"eslint-config-prettier": "2.9.0",
"eslint-import-resolver-webpack": "0.10.0",
"eslint-plugin-import": "2.12.0",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-prettier": "2.6.0",
"eslint-plugin-react": "7.9.1",
"eslint-plugin-redux-saga": "0.9.0",
"eventsource-polyfill": "0.9.6",
"exports-loader": "0.7.0",
"feathers-memory": "^2.1.0",
"file-loader": "1.1.11",
"html-loader": "0.5.5",
"html-webpack-plugin": "3.2.0",
"husky": "0.14.3",
"image-webpack-loader": "^4.4.0",
"imports-loader": "0.8.0",
"jest-cli": "23.1.0",
"jest-styled-components": "5.0.1",
"lint-staged": "7.2.0",
"ngrok": "3.0.1",
"node-plop": "0.15.0",
"null-loader": "0.1.1",
"offline-plugin": "5.0.5",
"plop": "2.0.0",
"pre-commit": "1.2.2",
"prettier": "1.13.5",
"react-test-renderer": "16.4.1",
"rimraf": "2.6.2",
"shelljs": "0.8.2",
"style-loader": "0.21.0",
"stylelint": "9.3.0",
"stylelint-config-recommended": "2.1.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.3.1",
"svg-url-loader": "2.3.2",
"url-loader": "1.0.1",
"webpack": "4.12.0",
"webpack-cli": "3.0.8",
"webpack-dev-middleware": "3.1.3",
"webpack-hot-middleware": "2.22.2",
"webpack-pwa-manifest": "3.6.2"










share|improve this question




























    0















    I'm getting error when deploying react-boilerplate on heroku with feathers, nodejs, mongodb, react. I specified up to date versions in package.json, and tried building with both npm and yarn but both fail. I appreciate your help!



     "engines": 
    "npm": ">=6.4.1",
    "node": ">=v8.12.0",
    "yarn": ">=1.10.1"
    ,


    trial 1:
    install with npm. error: sh: 1: node-pre-gyp: not found



     NPM_CONFIG_LOGLEVEL=error
    NPM_CONFIG_PRODUCTION=true
    YARN_PRODUCTION=false
    NODE_VERBOSE=false
    NODE_ENV=production
    NODE_MODULES_CACHE=true

    -----> Installing binaries
    engines.node (package.json): >=v8.12.0
    engines.npm (package.json): >=6.4.1

    Resolving node version >=v8.12.0...
    Downloading and installing node 10.12.0...
    Bootstrapping npm >=6.4.1 (replacing 6.4.1)...
    npm >=6.4.1 installed
    Resolving yarn version >=1.10.1...
    Downloading and installing yarn (1.12.0)...
    Installed yarn 1.12.0

    > grpc@1.15.1 install /tmp/build_e7799f363b624e57eda6680a757c4fd4/node_modules/grpc
    > node-pre-gyp install --fallback-to-build --library=static_library

    sh: 1: node-pre-gyp: not found
    npm ERR! file sh
    npm ERR! code ELIFECYCLE
    npm ERR! errno ENOENT
    npm ERR! syscall spawn
    npm ERR! grpc@1.15.1 install: `node-pre-gyp install --fallback-to-build --library=static_library`
    npm ERR! spawn ENOENT
    npm ERR!
    npm ERR! Failed at the grpc@1.15.1 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


    trial 2:
    install with yarn. error: Error: spawn webpack ENOENT



     NPM_CONFIG_LOGLEVEL=error
    YARN_PRODUCTION=true
    NODE_VERBOSE=false
    NODE_ENV=production
    NODE_MODULES_CACHE=true

    -----> Installing binaries
    engines.node (package.json): >=v8.12.0
    engines.npm (package.json): >=6.4.1
    engines.yarn (package.json): >=1.10.1

    Resolving node version >=v8.12.0...
    Downloading and installing node 10.12.0...
    Bootstrapping npm >=6.4.1 (replacing 6.4.1)...
    npm >=6.4.1 installed
    Resolving yarn version >=1.10.1...
    Downloading and installing yarn (1.12.0)...
    Installed yarn 1.12.0


    > seunghunlee-software@3.6.0 build /tmp/build_edb00e4a7279e6636f35f9ea79a9d0f8
    > cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout

    events.js:167
    throw er; // Unhandled 'error' event
    ^
    Error: spawn webpack ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
    at onErrorNT (internal/child_process.js:407:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)
    at startup (internal/bootstrap/node.js:285:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
    Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
    at onErrorNT (internal/child_process.js:407:16)
    [... lines matching original stack trace ...]
    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)


    //package.json



     "dependencies": 
    "@feathersjs/authentication": "^2.0.1",
    "@feathersjs/authentication-client": "^1.0.6",
    "@feathersjs/authentication-jwt": "^2.0.0",
    "@feathersjs/authentication-local": "^1.0.2",
    "@feathersjs/authentication-oauth2": "^1.2.2",
    "@feathersjs/client": "^3.7.3",
    "@feathersjs/configuration": "^1.0.1",
    "@feathersjs/errors": "^3.2.0",
    "@feathersjs/express": "^1.1.2",
    "@feathersjs/feathers": "^3.2.3",
    "@feathersjs/socketio": "^3.0.1",
    "@feathersjs/socketio-client": "^1.1.4",
    "@google-cloud/vision": "^0.19.0",
    "Dante2": "0.5.0-rc5",
    "antd": "^3.10.1",
    "apiai": "^4.0.3",
    "axios": "^0.18.0",
    "babel-polyfill": "6.26.0",
    "body-parser": "^1.18.3",
    "chalk": "2.4.1",
    "compression": "1.7.2",
    "cors": "^2.8.4",
    "cross-env": "5.2.0",
    "disqus-react": "^1.0.5",
    "dotenv": "^6.0.0",
    "draft-js": "^0.10.5",
    "draftjs-to-html": "^0.8.4",
    "express": "4.16.3",
    "faker": "^4.1.0",
    "feathers-mongoose": "^6.1.4",
    "feathers-sync": "^1.0.3",
    "fontfaceobserver": "2.0.13",
    "googleapis": "^32.0.0",
    "helmet": "^3.9.0",
    "heroku-ssl-redirect": "^0.0.4",
    "history": "4.7.2",
    "hoist-non-react-statics": "2.5.5",
    "html-to-draftjs": "^1.4.0",
    "immutability-helper": "2.4.0",
    "immutable": "3.8.2",
    "intl": "1.2.5",
    "invariant": "2.2.4",
    "ip": "1.1.5",
    "lodash": "4.17.10",
    "lqip.macro": "^0.1.5",
    "minimist": "1.2.0",
    "moment": "^2.22.2",
    "moment-range": "^4.0.1",
    "mongoose": "^5.2.13",
    "passport-facebook": "^2.1.1",
    "passport-facebook-token": "^3.3.0",
    "passport-google-oauth2": "^0.1.6",
    "passport-google-oauth20": "^1.0.0",
    "passport-google-token": "^0.1.2",
    "pica": "^4.1.1",
    "prismjs": "^1.15.0",
    "prop-types": "15.6.1",
    "react": "16.4.1",
    "react-burger-menu": "^2.5.4",
    "react-camera": "^0.1.3",
    "react-color": "^2.14.1",
    "react-cookie-consent": "^1.9.0",
    "react-datepicker": "^1.4.1",
    "react-dnd": "^2.6.0",
    "react-dnd-html5-backend": "^2.6.0",
    "react-dom": "16.4.1",
    "react-draft-wysiwyg": "^1.12.13",
    "react-ga": "^2.5.3",
    "react-helmet": "5.2.0",
    "react-ideal-image": "^0.0.5",
    "react-image-gallery": "^0.8.6",
    "react-images": "^0.5.13",
    "react-intl": "2.4.0",
    "react-lazyload": "^2.3.0",
    "react-loadable": "5.4.0",
    "react-redux": "5.0.7",
    "react-router-dom": "4.3.1",
    "react-router-redux": "5.0.0-alpha.9",
    "react-typist": "^2.0.4",
    "react-vis": "^1.9.2",
    "reactcss": "^1.2.3",
    "redux": "4.0.0",
    "redux-form": "^7.3.0",
    "redux-form-antd": "^1.0.5",
    "redux-immutable": "4.0.0",
    "redux-persist": "^5.9.1",
    "redux-saga": "0.16.0",
    "redux-thunk": "^2.3.0",
    "reselect": "3.0.1",
    "sanitize.css": "4.1.0",
    "serve-favicon": "^2.4.5",
    "socket.io": "^2.0.4",
    "socket.io-client": "^2.1.1",
    "spotify-web-api-node": "^3.1.1",
    "styled-components": "3.3.2",
    "uuid": "^3.3.2",
    "voucher-code-generator": "^1.1.1",
    "warning": "4.0.1",
    "web3": "^1.0.0-beta.36",
    "whatwg-fetch": "2.0.4",
    "winston": "^3.0.0"
    ,
    "devDependencies":
    "add-asset-html-webpack-plugin": "2.1.3",
    "babel-cli": "6.26.0",
    "babel-core": "6.26.3",
    "babel-eslint": "8.2.3",
    "babel-loader": "7.1.4",
    "babel-plugin-dynamic-import-node": "1.2.0",
    "babel-plugin-import": "^1.10.0",
    "babel-plugin-react-intl": "2.4.0",
    "babel-plugin-react-transform": "3.0.0",
    "babel-plugin-styled-components": "1.5.1",
    "babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
    "babel-plugin-transform-react-constant-elements": "6.23.0",
    "babel-plugin-transform-react-inline-elements": "6.22.0",
    "babel-plugin-transform-react-jsx-source": "6.22.0",
    "babel-plugin-transform-react-remove-prop-types": "0.4.13",
    "babel-preset-env": "1.7.0",
    "babel-preset-react": "6.24.1",
    "babel-preset-stage-0": "6.24.1",
    "circular-dependency-plugin": "5.0.2",
    "coveralls": "3.0.1",
    "css-loader": "0.28.11",
    "enzyme": "3.3.0",
    "enzyme-adapter-react-16": "1.1.1",
    "enzyme-to-json": "3.3.4",
    "eslint": "4.19.1",
    "eslint-config-airbnb": "16.1.0",
    "eslint-config-airbnb-base": "12.1.0",
    "eslint-config-prettier": "2.9.0",
    "eslint-import-resolver-webpack": "0.10.0",
    "eslint-plugin-import": "2.12.0",
    "eslint-plugin-jsx-a11y": "6.0.3",
    "eslint-plugin-prettier": "2.6.0",
    "eslint-plugin-react": "7.9.1",
    "eslint-plugin-redux-saga": "0.9.0",
    "eventsource-polyfill": "0.9.6",
    "exports-loader": "0.7.0",
    "feathers-memory": "^2.1.0",
    "file-loader": "1.1.11",
    "html-loader": "0.5.5",
    "html-webpack-plugin": "3.2.0",
    "husky": "0.14.3",
    "image-webpack-loader": "^4.4.0",
    "imports-loader": "0.8.0",
    "jest-cli": "23.1.0",
    "jest-styled-components": "5.0.1",
    "lint-staged": "7.2.0",
    "ngrok": "3.0.1",
    "node-plop": "0.15.0",
    "null-loader": "0.1.1",
    "offline-plugin": "5.0.5",
    "plop": "2.0.0",
    "pre-commit": "1.2.2",
    "prettier": "1.13.5",
    "react-test-renderer": "16.4.1",
    "rimraf": "2.6.2",
    "shelljs": "0.8.2",
    "style-loader": "0.21.0",
    "stylelint": "9.3.0",
    "stylelint-config-recommended": "2.1.0",
    "stylelint-config-styled-components": "0.1.1",
    "stylelint-processor-styled-components": "1.3.1",
    "svg-url-loader": "2.3.2",
    "url-loader": "1.0.1",
    "webpack": "4.12.0",
    "webpack-cli": "3.0.8",
    "webpack-dev-middleware": "3.1.3",
    "webpack-hot-middleware": "2.22.2",
    "webpack-pwa-manifest": "3.6.2"










    share|improve this question


























      0












      0








      0








      I'm getting error when deploying react-boilerplate on heroku with feathers, nodejs, mongodb, react. I specified up to date versions in package.json, and tried building with both npm and yarn but both fail. I appreciate your help!



       "engines": 
      "npm": ">=6.4.1",
      "node": ">=v8.12.0",
      "yarn": ">=1.10.1"
      ,


      trial 1:
      install with npm. error: sh: 1: node-pre-gyp: not found



       NPM_CONFIG_LOGLEVEL=error
      NPM_CONFIG_PRODUCTION=true
      YARN_PRODUCTION=false
      NODE_VERBOSE=false
      NODE_ENV=production
      NODE_MODULES_CACHE=true

      -----> Installing binaries
      engines.node (package.json): >=v8.12.0
      engines.npm (package.json): >=6.4.1

      Resolving node version >=v8.12.0...
      Downloading and installing node 10.12.0...
      Bootstrapping npm >=6.4.1 (replacing 6.4.1)...
      npm >=6.4.1 installed
      Resolving yarn version >=1.10.1...
      Downloading and installing yarn (1.12.0)...
      Installed yarn 1.12.0

      > grpc@1.15.1 install /tmp/build_e7799f363b624e57eda6680a757c4fd4/node_modules/grpc
      > node-pre-gyp install --fallback-to-build --library=static_library

      sh: 1: node-pre-gyp: not found
      npm ERR! file sh
      npm ERR! code ELIFECYCLE
      npm ERR! errno ENOENT
      npm ERR! syscall spawn
      npm ERR! grpc@1.15.1 install: `node-pre-gyp install --fallback-to-build --library=static_library`
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the grpc@1.15.1 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


      trial 2:
      install with yarn. error: Error: spawn webpack ENOENT



       NPM_CONFIG_LOGLEVEL=error
      YARN_PRODUCTION=true
      NODE_VERBOSE=false
      NODE_ENV=production
      NODE_MODULES_CACHE=true

      -----> Installing binaries
      engines.node (package.json): >=v8.12.0
      engines.npm (package.json): >=6.4.1
      engines.yarn (package.json): >=1.10.1

      Resolving node version >=v8.12.0...
      Downloading and installing node 10.12.0...
      Bootstrapping npm >=6.4.1 (replacing 6.4.1)...
      npm >=6.4.1 installed
      Resolving yarn version >=1.10.1...
      Downloading and installing yarn (1.12.0)...
      Installed yarn 1.12.0


      > seunghunlee-software@3.6.0 build /tmp/build_edb00e4a7279e6636f35f9ea79a9d0f8
      > cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout

      events.js:167
      throw er; // Unhandled 'error' event
      ^
      Error: spawn webpack ENOENT
      at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
      at onErrorNT (internal/child_process.js:407:16)
      at process._tickCallback (internal/process/next_tick.js:63:19)
      at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)
      at startup (internal/bootstrap/node.js:285:19)
      at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
      Emitted 'error' event at:
      at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
      at onErrorNT (internal/child_process.js:407:16)
      [... lines matching original stack trace ...]
      at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)


      //package.json



       "dependencies": 
      "@feathersjs/authentication": "^2.0.1",
      "@feathersjs/authentication-client": "^1.0.6",
      "@feathersjs/authentication-jwt": "^2.0.0",
      "@feathersjs/authentication-local": "^1.0.2",
      "@feathersjs/authentication-oauth2": "^1.2.2",
      "@feathersjs/client": "^3.7.3",
      "@feathersjs/configuration": "^1.0.1",
      "@feathersjs/errors": "^3.2.0",
      "@feathersjs/express": "^1.1.2",
      "@feathersjs/feathers": "^3.2.3",
      "@feathersjs/socketio": "^3.0.1",
      "@feathersjs/socketio-client": "^1.1.4",
      "@google-cloud/vision": "^0.19.0",
      "Dante2": "0.5.0-rc5",
      "antd": "^3.10.1",
      "apiai": "^4.0.3",
      "axios": "^0.18.0",
      "babel-polyfill": "6.26.0",
      "body-parser": "^1.18.3",
      "chalk": "2.4.1",
      "compression": "1.7.2",
      "cors": "^2.8.4",
      "cross-env": "5.2.0",
      "disqus-react": "^1.0.5",
      "dotenv": "^6.0.0",
      "draft-js": "^0.10.5",
      "draftjs-to-html": "^0.8.4",
      "express": "4.16.3",
      "faker": "^4.1.0",
      "feathers-mongoose": "^6.1.4",
      "feathers-sync": "^1.0.3",
      "fontfaceobserver": "2.0.13",
      "googleapis": "^32.0.0",
      "helmet": "^3.9.0",
      "heroku-ssl-redirect": "^0.0.4",
      "history": "4.7.2",
      "hoist-non-react-statics": "2.5.5",
      "html-to-draftjs": "^1.4.0",
      "immutability-helper": "2.4.0",
      "immutable": "3.8.2",
      "intl": "1.2.5",
      "invariant": "2.2.4",
      "ip": "1.1.5",
      "lodash": "4.17.10",
      "lqip.macro": "^0.1.5",
      "minimist": "1.2.0",
      "moment": "^2.22.2",
      "moment-range": "^4.0.1",
      "mongoose": "^5.2.13",
      "passport-facebook": "^2.1.1",
      "passport-facebook-token": "^3.3.0",
      "passport-google-oauth2": "^0.1.6",
      "passport-google-oauth20": "^1.0.0",
      "passport-google-token": "^0.1.2",
      "pica": "^4.1.1",
      "prismjs": "^1.15.0",
      "prop-types": "15.6.1",
      "react": "16.4.1",
      "react-burger-menu": "^2.5.4",
      "react-camera": "^0.1.3",
      "react-color": "^2.14.1",
      "react-cookie-consent": "^1.9.0",
      "react-datepicker": "^1.4.1",
      "react-dnd": "^2.6.0",
      "react-dnd-html5-backend": "^2.6.0",
      "react-dom": "16.4.1",
      "react-draft-wysiwyg": "^1.12.13",
      "react-ga": "^2.5.3",
      "react-helmet": "5.2.0",
      "react-ideal-image": "^0.0.5",
      "react-image-gallery": "^0.8.6",
      "react-images": "^0.5.13",
      "react-intl": "2.4.0",
      "react-lazyload": "^2.3.0",
      "react-loadable": "5.4.0",
      "react-redux": "5.0.7",
      "react-router-dom": "4.3.1",
      "react-router-redux": "5.0.0-alpha.9",
      "react-typist": "^2.0.4",
      "react-vis": "^1.9.2",
      "reactcss": "^1.2.3",
      "redux": "4.0.0",
      "redux-form": "^7.3.0",
      "redux-form-antd": "^1.0.5",
      "redux-immutable": "4.0.0",
      "redux-persist": "^5.9.1",
      "redux-saga": "0.16.0",
      "redux-thunk": "^2.3.0",
      "reselect": "3.0.1",
      "sanitize.css": "4.1.0",
      "serve-favicon": "^2.4.5",
      "socket.io": "^2.0.4",
      "socket.io-client": "^2.1.1",
      "spotify-web-api-node": "^3.1.1",
      "styled-components": "3.3.2",
      "uuid": "^3.3.2",
      "voucher-code-generator": "^1.1.1",
      "warning": "4.0.1",
      "web3": "^1.0.0-beta.36",
      "whatwg-fetch": "2.0.4",
      "winston": "^3.0.0"
      ,
      "devDependencies":
      "add-asset-html-webpack-plugin": "2.1.3",
      "babel-cli": "6.26.0",
      "babel-core": "6.26.3",
      "babel-eslint": "8.2.3",
      "babel-loader": "7.1.4",
      "babel-plugin-dynamic-import-node": "1.2.0",
      "babel-plugin-import": "^1.10.0",
      "babel-plugin-react-intl": "2.4.0",
      "babel-plugin-react-transform": "3.0.0",
      "babel-plugin-styled-components": "1.5.1",
      "babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
      "babel-plugin-transform-react-constant-elements": "6.23.0",
      "babel-plugin-transform-react-inline-elements": "6.22.0",
      "babel-plugin-transform-react-jsx-source": "6.22.0",
      "babel-plugin-transform-react-remove-prop-types": "0.4.13",
      "babel-preset-env": "1.7.0",
      "babel-preset-react": "6.24.1",
      "babel-preset-stage-0": "6.24.1",
      "circular-dependency-plugin": "5.0.2",
      "coveralls": "3.0.1",
      "css-loader": "0.28.11",
      "enzyme": "3.3.0",
      "enzyme-adapter-react-16": "1.1.1",
      "enzyme-to-json": "3.3.4",
      "eslint": "4.19.1",
      "eslint-config-airbnb": "16.1.0",
      "eslint-config-airbnb-base": "12.1.0",
      "eslint-config-prettier": "2.9.0",
      "eslint-import-resolver-webpack": "0.10.0",
      "eslint-plugin-import": "2.12.0",
      "eslint-plugin-jsx-a11y": "6.0.3",
      "eslint-plugin-prettier": "2.6.0",
      "eslint-plugin-react": "7.9.1",
      "eslint-plugin-redux-saga": "0.9.0",
      "eventsource-polyfill": "0.9.6",
      "exports-loader": "0.7.0",
      "feathers-memory": "^2.1.0",
      "file-loader": "1.1.11",
      "html-loader": "0.5.5",
      "html-webpack-plugin": "3.2.0",
      "husky": "0.14.3",
      "image-webpack-loader": "^4.4.0",
      "imports-loader": "0.8.0",
      "jest-cli": "23.1.0",
      "jest-styled-components": "5.0.1",
      "lint-staged": "7.2.0",
      "ngrok": "3.0.1",
      "node-plop": "0.15.0",
      "null-loader": "0.1.1",
      "offline-plugin": "5.0.5",
      "plop": "2.0.0",
      "pre-commit": "1.2.2",
      "prettier": "1.13.5",
      "react-test-renderer": "16.4.1",
      "rimraf": "2.6.2",
      "shelljs": "0.8.2",
      "style-loader": "0.21.0",
      "stylelint": "9.3.0",
      "stylelint-config-recommended": "2.1.0",
      "stylelint-config-styled-components": "0.1.1",
      "stylelint-processor-styled-components": "1.3.1",
      "svg-url-loader": "2.3.2",
      "url-loader": "1.0.1",
      "webpack": "4.12.0",
      "webpack-cli": "3.0.8",
      "webpack-dev-middleware": "3.1.3",
      "webpack-hot-middleware": "2.22.2",
      "webpack-pwa-manifest": "3.6.2"










      share|improve this question
















      I'm getting error when deploying react-boilerplate on heroku with feathers, nodejs, mongodb, react. I specified up to date versions in package.json, and tried building with both npm and yarn but both fail. I appreciate your help!



       "engines": 
      "npm": ">=6.4.1",
      "node": ">=v8.12.0",
      "yarn": ">=1.10.1"
      ,


      trial 1:
      install with npm. error: sh: 1: node-pre-gyp: not found



       NPM_CONFIG_LOGLEVEL=error
      NPM_CONFIG_PRODUCTION=true
      YARN_PRODUCTION=false
      NODE_VERBOSE=false
      NODE_ENV=production
      NODE_MODULES_CACHE=true

      -----> Installing binaries
      engines.node (package.json): >=v8.12.0
      engines.npm (package.json): >=6.4.1

      Resolving node version >=v8.12.0...
      Downloading and installing node 10.12.0...
      Bootstrapping npm >=6.4.1 (replacing 6.4.1)...
      npm >=6.4.1 installed
      Resolving yarn version >=1.10.1...
      Downloading and installing yarn (1.12.0)...
      Installed yarn 1.12.0

      > grpc@1.15.1 install /tmp/build_e7799f363b624e57eda6680a757c4fd4/node_modules/grpc
      > node-pre-gyp install --fallback-to-build --library=static_library

      sh: 1: node-pre-gyp: not found
      npm ERR! file sh
      npm ERR! code ELIFECYCLE
      npm ERR! errno ENOENT
      npm ERR! syscall spawn
      npm ERR! grpc@1.15.1 install: `node-pre-gyp install --fallback-to-build --library=static_library`
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the grpc@1.15.1 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


      trial 2:
      install with yarn. error: Error: spawn webpack ENOENT



       NPM_CONFIG_LOGLEVEL=error
      YARN_PRODUCTION=true
      NODE_VERBOSE=false
      NODE_ENV=production
      NODE_MODULES_CACHE=true

      -----> Installing binaries
      engines.node (package.json): >=v8.12.0
      engines.npm (package.json): >=6.4.1
      engines.yarn (package.json): >=1.10.1

      Resolving node version >=v8.12.0...
      Downloading and installing node 10.12.0...
      Bootstrapping npm >=6.4.1 (replacing 6.4.1)...
      npm >=6.4.1 installed
      Resolving yarn version >=1.10.1...
      Downloading and installing yarn (1.12.0)...
      Installed yarn 1.12.0


      > seunghunlee-software@3.6.0 build /tmp/build_edb00e4a7279e6636f35f9ea79a9d0f8
      > cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout

      events.js:167
      throw er; // Unhandled 'error' event
      ^
      Error: spawn webpack ENOENT
      at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
      at onErrorNT (internal/child_process.js:407:16)
      at process._tickCallback (internal/process/next_tick.js:63:19)
      at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)
      at startup (internal/bootstrap/node.js:285:19)
      at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
      Emitted 'error' event at:
      at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
      at onErrorNT (internal/child_process.js:407:16)
      [... lines matching original stack trace ...]
      at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)


      //package.json



       "dependencies": 
      "@feathersjs/authentication": "^2.0.1",
      "@feathersjs/authentication-client": "^1.0.6",
      "@feathersjs/authentication-jwt": "^2.0.0",
      "@feathersjs/authentication-local": "^1.0.2",
      "@feathersjs/authentication-oauth2": "^1.2.2",
      "@feathersjs/client": "^3.7.3",
      "@feathersjs/configuration": "^1.0.1",
      "@feathersjs/errors": "^3.2.0",
      "@feathersjs/express": "^1.1.2",
      "@feathersjs/feathers": "^3.2.3",
      "@feathersjs/socketio": "^3.0.1",
      "@feathersjs/socketio-client": "^1.1.4",
      "@google-cloud/vision": "^0.19.0",
      "Dante2": "0.5.0-rc5",
      "antd": "^3.10.1",
      "apiai": "^4.0.3",
      "axios": "^0.18.0",
      "babel-polyfill": "6.26.0",
      "body-parser": "^1.18.3",
      "chalk": "2.4.1",
      "compression": "1.7.2",
      "cors": "^2.8.4",
      "cross-env": "5.2.0",
      "disqus-react": "^1.0.5",
      "dotenv": "^6.0.0",
      "draft-js": "^0.10.5",
      "draftjs-to-html": "^0.8.4",
      "express": "4.16.3",
      "faker": "^4.1.0",
      "feathers-mongoose": "^6.1.4",
      "feathers-sync": "^1.0.3",
      "fontfaceobserver": "2.0.13",
      "googleapis": "^32.0.0",
      "helmet": "^3.9.0",
      "heroku-ssl-redirect": "^0.0.4",
      "history": "4.7.2",
      "hoist-non-react-statics": "2.5.5",
      "html-to-draftjs": "^1.4.0",
      "immutability-helper": "2.4.0",
      "immutable": "3.8.2",
      "intl": "1.2.5",
      "invariant": "2.2.4",
      "ip": "1.1.5",
      "lodash": "4.17.10",
      "lqip.macro": "^0.1.5",
      "minimist": "1.2.0",
      "moment": "^2.22.2",
      "moment-range": "^4.0.1",
      "mongoose": "^5.2.13",
      "passport-facebook": "^2.1.1",
      "passport-facebook-token": "^3.3.0",
      "passport-google-oauth2": "^0.1.6",
      "passport-google-oauth20": "^1.0.0",
      "passport-google-token": "^0.1.2",
      "pica": "^4.1.1",
      "prismjs": "^1.15.0",
      "prop-types": "15.6.1",
      "react": "16.4.1",
      "react-burger-menu": "^2.5.4",
      "react-camera": "^0.1.3",
      "react-color": "^2.14.1",
      "react-cookie-consent": "^1.9.0",
      "react-datepicker": "^1.4.1",
      "react-dnd": "^2.6.0",
      "react-dnd-html5-backend": "^2.6.0",
      "react-dom": "16.4.1",
      "react-draft-wysiwyg": "^1.12.13",
      "react-ga": "^2.5.3",
      "react-helmet": "5.2.0",
      "react-ideal-image": "^0.0.5",
      "react-image-gallery": "^0.8.6",
      "react-images": "^0.5.13",
      "react-intl": "2.4.0",
      "react-lazyload": "^2.3.0",
      "react-loadable": "5.4.0",
      "react-redux": "5.0.7",
      "react-router-dom": "4.3.1",
      "react-router-redux": "5.0.0-alpha.9",
      "react-typist": "^2.0.4",
      "react-vis": "^1.9.2",
      "reactcss": "^1.2.3",
      "redux": "4.0.0",
      "redux-form": "^7.3.0",
      "redux-form-antd": "^1.0.5",
      "redux-immutable": "4.0.0",
      "redux-persist": "^5.9.1",
      "redux-saga": "0.16.0",
      "redux-thunk": "^2.3.0",
      "reselect": "3.0.1",
      "sanitize.css": "4.1.0",
      "serve-favicon": "^2.4.5",
      "socket.io": "^2.0.4",
      "socket.io-client": "^2.1.1",
      "spotify-web-api-node": "^3.1.1",
      "styled-components": "3.3.2",
      "uuid": "^3.3.2",
      "voucher-code-generator": "^1.1.1",
      "warning": "4.0.1",
      "web3": "^1.0.0-beta.36",
      "whatwg-fetch": "2.0.4",
      "winston": "^3.0.0"
      ,
      "devDependencies":
      "add-asset-html-webpack-plugin": "2.1.3",
      "babel-cli": "6.26.0",
      "babel-core": "6.26.3",
      "babel-eslint": "8.2.3",
      "babel-loader": "7.1.4",
      "babel-plugin-dynamic-import-node": "1.2.0",
      "babel-plugin-import": "^1.10.0",
      "babel-plugin-react-intl": "2.4.0",
      "babel-plugin-react-transform": "3.0.0",
      "babel-plugin-styled-components": "1.5.1",
      "babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
      "babel-plugin-transform-react-constant-elements": "6.23.0",
      "babel-plugin-transform-react-inline-elements": "6.22.0",
      "babel-plugin-transform-react-jsx-source": "6.22.0",
      "babel-plugin-transform-react-remove-prop-types": "0.4.13",
      "babel-preset-env": "1.7.0",
      "babel-preset-react": "6.24.1",
      "babel-preset-stage-0": "6.24.1",
      "circular-dependency-plugin": "5.0.2",
      "coveralls": "3.0.1",
      "css-loader": "0.28.11",
      "enzyme": "3.3.0",
      "enzyme-adapter-react-16": "1.1.1",
      "enzyme-to-json": "3.3.4",
      "eslint": "4.19.1",
      "eslint-config-airbnb": "16.1.0",
      "eslint-config-airbnb-base": "12.1.0",
      "eslint-config-prettier": "2.9.0",
      "eslint-import-resolver-webpack": "0.10.0",
      "eslint-plugin-import": "2.12.0",
      "eslint-plugin-jsx-a11y": "6.0.3",
      "eslint-plugin-prettier": "2.6.0",
      "eslint-plugin-react": "7.9.1",
      "eslint-plugin-redux-saga": "0.9.0",
      "eventsource-polyfill": "0.9.6",
      "exports-loader": "0.7.0",
      "feathers-memory": "^2.1.0",
      "file-loader": "1.1.11",
      "html-loader": "0.5.5",
      "html-webpack-plugin": "3.2.0",
      "husky": "0.14.3",
      "image-webpack-loader": "^4.4.0",
      "imports-loader": "0.8.0",
      "jest-cli": "23.1.0",
      "jest-styled-components": "5.0.1",
      "lint-staged": "7.2.0",
      "ngrok": "3.0.1",
      "node-plop": "0.15.0",
      "null-loader": "0.1.1",
      "offline-plugin": "5.0.5",
      "plop": "2.0.0",
      "pre-commit": "1.2.2",
      "prettier": "1.13.5",
      "react-test-renderer": "16.4.1",
      "rimraf": "2.6.2",
      "shelljs": "0.8.2",
      "style-loader": "0.21.0",
      "stylelint": "9.3.0",
      "stylelint-config-recommended": "2.1.0",
      "stylelint-config-styled-components": "0.1.1",
      "stylelint-processor-styled-components": "1.3.1",
      "svg-url-loader": "2.3.2",
      "url-loader": "1.0.1",
      "webpack": "4.12.0",
      "webpack-cli": "3.0.8",
      "webpack-dev-middleware": "3.1.3",
      "webpack-hot-middleware": "2.22.2",
      "webpack-pwa-manifest": "3.6.2"







      node.js heroku webpack react-boilerplate node-pre-gyp






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 31 '18 at 18:08







      Seunghun Sunmoon Lee

















      asked Oct 27 '18 at 13:14









      Seunghun Sunmoon LeeSeunghun Sunmoon Lee

      6729




      6729






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The problem is that the bcrypt library is not installed.



          Instead of bcrypt you can install and use bcryptjs which is the same library implemented in plain JavaScript instead of C++.






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53022234%2fheroku-node-deploymentreact-boilerplate-sh-1-node-pre-gyp-not-found-error%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The problem is that the bcrypt library is not installed.



            Instead of bcrypt you can install and use bcryptjs which is the same library implemented in plain JavaScript instead of C++.






            share|improve this answer





























              0














              The problem is that the bcrypt library is not installed.



              Instead of bcrypt you can install and use bcryptjs which is the same library implemented in plain JavaScript instead of C++.






              share|improve this answer



























                0












                0








                0







                The problem is that the bcrypt library is not installed.



                Instead of bcrypt you can install and use bcryptjs which is the same library implemented in plain JavaScript instead of C++.






                share|improve this answer















                The problem is that the bcrypt library is not installed.



                Instead of bcrypt you can install and use bcryptjs which is the same library implemented in plain JavaScript instead of C++.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 8 at 10:17

























                answered Mar 8 at 8:05









                PouyaPouya

                13




                13





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53022234%2fheroku-node-deploymentreact-boilerplate-sh-1-node-pre-gyp-not-found-error%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

                    2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

                    Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme