keystone deployment fails on azure - azure

I have an azure web-app and deploying my keystone app to azure from github.
Unfortunately I end up in an 500 error:
Tue May 23 2017 19:36:05 GMT+0000 (Coordinated Universal Time): Application has thrown an uncaught exception and is terminated:
Error: ENOENT: no such file or directory, scandir 'D:\home\site\wwwroot\C:\DWASFiles\Sites\chronasWebApp\DynamicCache\wwwroot\routes\api'
at Error (native)
at Object.fs.readdirSync (fs.js:945:18)
at importer (C:\DWASFiles\Sites\chronasWebApp\DynamicCache\wwwroot\node_modules\keystone\lib\core\importer.js:32:6)
at Object.<anonymous> (C:\DWASFiles\Sites\chronasWebApp\DynamicCache\wwwroot\routes\index.js:37:7)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\DWASFiles\Sites\chronasWebApp\DynamicCache\wwwroot\keystone.js:59:24)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
How knows what the issue is?
This is the app we deploy:
https://github.com/aumanjoa/chronas-community
package.json:
{
"name": "chronas",
"version": "2.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/daumann/chronas-community.git"
},
"dependencies": {
"async": "^2.4.1",
"babel-core": "^6.24.1",
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.24.1",
"babelify": "^7.3.0",
"body-parser": "^1.17.2",
"browserify-middleware": "^7.1.0",
"classnames": "^2.2.5",
"connect-mongo": "^1.3.2",
"crypto": "0.0.3",
"dotenv": "^4.0.0",
"express-graphql": "^0.6.5",
"graphql": "^0.9.6",
"graphql-relay": "^0.5.1",
"gulp": "^3.9.1",
"gulp-zip": "^4.0.0",
"jade": "^1.11.0",
"keystone": "https://github.com/keystonejs/keystone.git#f3083c",
"lodash": "^4.17.4",
"log4js": "^1.1.1",
"moment": "^2.18.1",
"newrelic": "^1.39.1",
"passport": "^0.3.2",
"passport-facebook": "^2.1.1",
"passport-github": "^1.1.0",
"passport-google-oauth": "^1.0.0",
"passport-twitter": "^1.0.4",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"request": "^2.81.0",
"store-prototype": "^1.1.1",
"superagent": "^3.5.2",
"underscore": "^1.8.3"
},
"engines": {
"node": "6.2.2",
"npm": "3.9.5"
},
"scripts": {
"start": "node keystone.js",
"print-graphql-schema": "babel-node ./graphql/scripts/printSchema.js"
}
}

issue was related to this bug
Azure and node js __dirname
fixed the issue by updating to new node version.
"node": "6.10.0",
"npm": "3.10.10"

Related

Node JS Express removed files throws an error: 'Cannot find module './jobs.resolver''

So I tried to remove some files for code cleanup and some normalization. However express then gives me an error of: "Cannot find module './jobs.resolver'" Which is one of the files I removed.
Here is my package.json:
{
"name": "typegraphql-tutorial",
"version": "1.0.0",
"main": "dist/index",
"typings": "dist/index",
"author": "Tom Nagle",
"license": "MIT",
"scripts": {
"dev": "ts-node-dev --respawn --transpile-only --exit-child --watch src src/index.ts",
"start": "node ./src/index.ts"
},
"dependencies": {
"#typegoose/typegoose": "^9.7.1",
"apollo-server": "^3.5.0",
"bcrypt": "^5.0.1",
"bcryptjs": "^2.4.3",
"class-validator": "^0.13.2",
"config": "^3.3.6",
"cookie-parser": "^1.4.6",
"dotenv": "^10.0.0",
"express": "^4.17.3",
"graphql": "15.x",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.2.9",
"nanoid": "^3.1.30",
"reflect-metadata": "^0.1.13",
"type-graphql": "^1.1.1"
},
"devDependencies": {
"#types/bcrypt": "^5.0.0",
"#types/config": "^0.0.40",
"#types/cookie-parser": "^1.4.2",
"#types/jsonwebtoken": "^8.5.6",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.2"
}
}
Here is the error stack:
Error: Cannot find module './jobs.resolver'
Require stack:
- B:\jrevsols\jrevsolsBE\src\resolvers\index.ts
- B:\jrevsols\jrevsolsBE\src\index.ts
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (B:\jrevsols\jrevsolsBE\src\resolvers\index.ts:4:1)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Module._compile (B:\jrevsols\jrevsolsBE\node_modules\source-map-support\source-map-support.js:568:25)
at Module.m._compile (C:\Users\Bon\AppData\Local\Temp\ts-node-dev-hook-9024418715050684.js:69:33)
at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at require.extensions.<computed> (C:\Users\Bon\AppData\Local\Temp\ts-node-dev-hook-9024418715050684.js:71:20)
[ERROR] 20:56:46 Error: Cannot find module './jobs.resolver'
Require stack:
- B:\jrevsols\jrevsolsBE\src\resolvers\index.ts
- B:\jrevsols\jrevsolsBE\src\index.ts
Not really sure why this is happening and searching the issue most of them are unreleated

I get an error when trying to build a docker Image for my Jhipster 7.1.0 gateway application (webpack error)

I just generate an Jhipster gateway application by the generate-jhipster
And then when I run ./gradlew bootJar -Pprod jibDockerBuild
I get an webpack error:
[webpack-cli] Failed to load '/run/media/witcher/WORKS/study-space-flatform/StudySpace/webpack/webpack.prod.js' config
[webpack-cli] Error: Cannot find module 'workbox-build/build/options/schema/webpack-generate-sw'
Require stack:
- /run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/workbox-webpack-plugin/build/generate-sw.js
- /run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/workbox-webpack-plugin/build/index.js
- /run/media/witcher/WORKS/study-space-flatform/StudySpace/webpack/webpack.prod.js
- /run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/webpack-cli/lib/webpack-cli.js
- /run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/webpack-cli/lib/bootstrap.js
- /run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/webpack-cli/bin/cli.js
- /run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/webpack/bin/webpack.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (/run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/workbox-webpack-plugin/build/generate-sw.js:20:33)
at Module._compile (/run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/workbox-webpack-plugin/build/generate-sw.js',
'/run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/workbox-webpack-plugin/build/index.js',
'/run/media/witcher/WORKS/study-space-flatform/StudySpace/webpack/webpack.prod.js',
'/run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/webpack-cli/lib/webpack-cli.js',
'/run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/webpack-cli/lib/bootstrap.js',
'/run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/webpack-cli/bin/cli.js',
'/run/media/witcher/WORKS/study-space-flatform/StudySpace/node_modules/webpack/bin/webpack.js'
]
}
I'm sure it appeared in package.json devDependencies
"devDependencies": {
"#testing-library/react": "11.2.7",
"#types/jest": "26.0.23",
"#types/lodash": "4.14.170",
"#types/node": "15.12.2",
"#types/react": "17.0.11",
"#types/react-dom": "17.0.7",
"#types/react-redux": "7.1.16",
"#types/react-router-dom": "5.1.7",
"#types/redux": "3.6.31",
"#types/webpack-env": "1.16.0",
"#typescript-eslint/eslint-plugin": "4.27.0",
"#typescript-eslint/parser": "4.27.0",
"autoprefixer": "10.2.6",
"browser-sync": "2.26.14",
"browser-sync-webpack-plugin": "2.3.0",
"concurrently": "6.2.0",
"copy-webpack-plugin": "9.0.0",
"core-js": "3.14.0",
"cross-env": "7.0.3",
"css-loader": "5.2.6",
"css-minimizer-webpack-plugin": "3.0.1",
"cypress": "7.5.0",
"cypress-audit": "1.0.0",
"eslint": "7.28.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-cypress": "2.11.3",
"eslint-plugin-react": "7.24.0",
"eslint-webpack-plugin": "2.5.4",
"file-loader": "6.2.0",
"fork-ts-checker-webpack-plugin": "6.2.10",
"generator-jhipster": "7.1.0",
"html-webpack-plugin": "5.3.1",
"husky": "4.3.8",
"identity-obj-proxy": "3.0.0",
"jest": "27.0.4",
"jest-junit": "12.2.0",
"jest-sonar-reporter": "2.0.0",
"json-loader": "0.5.7",
"lighthouse": "8.0.0",
"lint-staged": "11.0.0",
"merge-jsons-webpack-plugin": "1.0.21",
"mini-css-extract-plugin": "1.6.0",
"postcss-loader": "6.1.0",
"prettier": "2.3.1",
"prettier-plugin-java": "1.2.0",
"prettier-plugin-packagejson": "2.2.11",
"puppeteer": "10.0.0",
"react-infinite-scroller": "1.2.4",
"redux-mock-store": "1.5.4",
"rimraf": "3.0.2",
"sass": "1.35.1",
"sass-loader": "12.1.0",
"simple-progress-webpack-plugin": "2.0.0",
"sinon": "11.1.1",
"source-map-loader": "3.0.0",
"sourcemap-istanbul-instrumenter-loader": "0.2.0",
"stripcomment-loader": "0.1.0",
"style-loader": "2.0.0",
"swagger-ui-dist": "3.50.0",
"terser-webpack-plugin": "5.1.3",
"thread-loader": "3.0.4",
"to-string-loader": "1.1.6",
"ts-jest": "27.0.3",
"ts-loader": "9.2.3",
"typescript": "4.3.3",
"wait-on": "5.3.0",
"webpack": "5.39.0",
"webpack-cli": "4.7.2",
"webpack-dev-server": "3.11.2",
"webpack-merge": "5.8.0",
"webpack-notifier": "1.13.0",
"workbox-webpack-plugin": "6.1.5"
}
Please help!!!
workbox-webpack-plugin need to be update to lastest version. Current 6.2.4

Nodejs 12 + N-api version conflict

I'm trying to use the bcrypt-package inside a vue-electron project, but there is an N-api version issue when I try to run it:
Uncaught Error: The N-API version of this Node instance is 1. This module supports N-API version(s) 3. This Node instance cannot run this module.
I'm running node 12.16.1.
I read up on the documentation about N-API, and according to that version matrix, it is not possible I have version 1 installed. But I can't find any further documentation on how to install/configure/manage these N-API versions.
My package.json:
{
"version": "0.0.1",
"license": null,
"engines": {
"node": "12.16.x"
},
"main": "./dist/electron/main.js",
"scripts": {
"build": "node .electron-vue/build.js && electron-builder",
"build:dir": "node .electron-vue/build.js && electron-builder --dir",
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
"dev": "node .electron-vue/dev-runner.js",
"pack": "npm run pack:main && npm run pack:renderer",
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
"postinstall": ""
},
"build": {
"directories": {
"output": "build"
},
"files": [
"dist/electron/**/*"
],
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"icon": "build/icons/icon.icns"
},
"win": {
"icon": "build/icons/icon.ico"
},
"linux": {
"icon": "build/icons"
}
},
"dependencies": {
"#fortawesome/fontawesome-svg-core": "^1.2.27",
"#fortawesome/free-solid-svg-icons": "^5.12.1",
"#fortawesome/vue-fontawesome": "^0.1.9",
"axios": "^0.18.0",
"bcrypt": "^4.0.1",
"bootstrap": "^4.4.1",
"bootstrap-vue": "^2.7.0",
"dotenv": "^8.2.0",
"dotenv-webpack": "^1.7.0",
"mongoose": "^5.9.4",
"mongoose-uuid2": "^2.3.0",
"portal-vue": "^2.1.7",
"uuid": "^7.0.2",
"vue": "^2.5.16",
"vue-electron": "^1.0.6",
"vue-i18n": "^8.15.5",
"vue-router": "^3.0.1",
"vuex": "^3.0.1",
"vuex-electron": "^1.0.0"
},
"devDependencies": {
"ajv": "^6.5.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-minify-webpack-plugin": "^0.3.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"cfonts": "^2.1.2",
"chalk": "^2.4.1",
"copy-webpack-plugin": "^4.5.1",
"cross-env": "^5.1.6",
"css-loader": "^0.28.11",
"del": "^3.0.0",
"devtron": "^1.4.0",
"electron": "^2.0.4",
"electron-builder": "^20.19.2",
"electron-debug": "^1.5.0",
"electron-devtools-installer": "^2.2.4",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "0.4.0",
"multispinner": "^0.2.1",
"node-loader": "^0.6.0",
"style-loader": "^0.21.0",
"url-loader": "^1.0.1",
"vue-html-loader": "^1.2.4",
"vue-loader": "^15.2.4",
"vue-style-loader": "^4.1.0",
"vue-template-compiler": "^2.5.16",
"webpack": "^4.15.1",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4",
"webpack-hot-middleware": "^2.22.2",
"webpack-merge": "^4.1.3"
}
}
Complete console stacktrace:
Uncaught Error: The N-API version of this Node instance is 1. This module supports N-API version(s) 3. This Node instance cannot run this module.
at Object.module.exports.validate_package_json (/home/fabian/projects/prelude-pos/node_modules/node-pre-gyp/lib/util/napi.js:82:9)
at Object.validate_config (/home/fabian/projects/prelude-pos/node_modules/node-pre-gyp/lib/util/versioning.js:229:10)
at Object.exports.find (/home/fabian/projects/prelude-pos/node_modules/node-pre-gyp/lib/pre-binding.js:21:15)
at Object.<anonymous> (/home/fabian/projects/prelude-pos/node_modules/bcrypt/bcrypt.js:5:27)
at Object.<anonymous> (/home/fabian/projects/prelude-pos/node_modules/bcrypt/bcrypt.js:238:3)
at Module._compile (module.js:642:30)
at Object.Module._extensions..js (module.js:653:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at eval (webpack-internal:///bcrypt:1:18)
at Object.bcrypt (http://localhost:9080/renderer.js:2844:1)
at __webpack_require__ (http://localhost:9080/renderer.js:727:30)
at fn (http://localhost:9080/renderer.js:102:20)
So far, I wiped and reinstalled nodejs, cleared the node_modules and reinstalled all the packages, but no difference there.
So I found an answer to my own question in the end:
Electron comes bundled with its own version of nodejs apparently. Updating electron fixed my error.

heroku host with eris

i want to host a discord bot using eris but every time i have a problem that tell me eris isn't install i have this error
Error: Cannot find module 'eris'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/app/bot.js:1:76)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
and this the package.json file that i use i change to many files many times
{
"name": "manarceus",
"description": "project",
"version": "0.0.0",
"main": "bot.js",
"scripts": {
"start": "node bot.js"
},
"dependencies": {
"discord.js": "^11.3.2",
"discord.js-musicbot-addon": "^1.10.3",
"express": "^4.16.3",
"finalhandler": "^1.1.1",
"fortnite": "^3.0.0",
"fs": "^0.0.2",
"hastebin-gen":"1.3.1",
"canvas": "^1.6.11",
"giphy-api": "1.2.7",
"math-expression-evaluator":"1.2.17",
"common-tags":"1.7.2",
"zalgolize":"1.2.4",
"eris":"0.8.5",
"quick.db":"6.3.1",
"google-translate-api":"2.3.0",
"ascii-data-table":"2.1.1",
"array-sort": "1.0.0",
"table": "4.0.3",
"dateformat":"3.0.3",
"jimp":"0.2.28",
"get-youtube-id": "^1.0.0",
"moment": "^2.22.1",
"ms": "^2.1.1",
"goo.gl":"0.1.4",
"figlet":"1.2.0",
"google-it":"1.1.1",
"node-opus": "^0.2.7",
"opusscript": "0.0.6",
"python": "0.0.4",
"request": "^2.85.0",
"hypixel-api" : "1.0.0",
"router": "^1.3.2",
"snekfetch": "^3.6.4",
"sqlite": "^2.9.1",
"youtube-info": "^1.2.0",
"ytdl-core": "^0.20.2",
"ffmpeg": "0.0.4",
"pretty-ms": "3.1.0",
"ffmpeg-binaries": "^3.2.2-3",
"simple-youtube-api": "^5.0.2"
}
}
and i try to run commands to install eris too
any help

when is start npm I get TypeError: Cannot read property 'string' of undefined

I have installed node js and mongo db then after that I started the node js. when I start the node js I get this error. This error is throwing from server.js file. But I couldn't check exactly which line is throwing error.
/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:22404
href: _react2['default'].PropTypes.string,
^
TypeError: Cannot read property 'string' of undefined
at Object.defineProperty.value (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:22404:38)
at __webpack_require__ (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:30:30)
at Object.<anonymous> (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:20101:20)
at __webpack_require__ (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:30:30)
at Object.i (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:19923:15)
at __webpack_require__ (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:30:30)
at Object.defineProperty.value (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:19790:20)
at __webpack_require__ (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:30:30)
at Object.defineProperty.value (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:19000:34)
at __webpack_require__ (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:30:30)
at Object.<anonymous> (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:320:22)
at __webpack_require__ (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:30:30)
at Object.<anonymous> (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:76:16)
at __webpack_require__ (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:30:30)
at Object.obj.__esModule.default (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:57:19)
at __webpack_require__ (/Users/aarthi.ananth/reactjs/reactjs/reaact-csp/CSP/public/build/server.js:30:30)
My server.js file has the following code at line 22403
var propTypes = {
href: _react2['default'].PropTypes.string,
onClick: _react2['default'].PropTypes.func,
disabled: _react2['default'].PropTypes.bool,
role: _react2['default'].PropTypes.string,
tabIndex: _react2['default'].PropTypes.oneOfType([_react2['default'].PropTypes.number, _react2['default'].PropTypes.string]),
/**
* this is sort of silly but needed for Button
*/
componentClass: _elementType2['default']
};
This is my package.json file
{
"name": "isomorphicdemo",
"version": "1.1.1",
"description": "React Customer care application",
"main": "src/server/app.js",
"scripts": {
"start": "nodemon public/build/server.js"
},
"files": [
"lib/",
"socket.io.js"
],
"dependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-dev-expression": "^0.2.1",
"babel-preset-es2015": "^6.16.0",
"babel-preset-react": "^6.16.0",
"babel-runtime": "^6.26.0",
"babelify": "^8.0.0",
"body-parser": "^1.15.2",
"bootbox": "^4.4.0",
"browserify": "^14.5.0",
"deep-equal": "^1.0.1",
"ejs": "^2.3.3",
"ejs-loader": "^0.3.0",
"engine.io-client": "^3.1.4",
"express": "^4.13.3",
"express-session": "^1.14.1",
"express-useragent": "^1.0.3",
"flux": "^3.1.3",
"gulp-live-server": "0.0.31",
"history": "^4.7.2",
"http-proxy": "^1.11.1",
"invariant": "^2.1.0",
"jquery": "^3.1.1",
"json-loader": "^0.5.2",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-bootstrap": "^0.31.5",
"react-dom": "^16.2.0",
"react-flux": "^1.0.1",
"react-native-version-check": "^2.0.1",
"react-router": "^4.2.0",
"reactify": "^1.1.1",
"simple-react-button": "^1.3.0",
"socket.io-client": "^2.0.4",
"style-loader": "^0.19.0",
"stylus-loader": "^3.0.1",
"superagent": "^3.8.1",
"vinyl-source-stream": "^1.1.0",
"warning": "^3.0.0",
"webpack": "^3.9.1",
"websocket": "^1.0.23",
"ws": "^3.3.2"
},
"devDependencies": {
"browser-sync": "^2.9.6",
"gulp": "^3.9.0",
"gulp-babel": "^7.0.0",
0"nodemon": "^1.7.0"
}
}
May I know where I am going wrong..
"prop-types": "^15.6.0" dependency is missing in the package.json file. Execute below command in your project to install it.
npm install --save prop-types

Resources