Kangzeroos-AWS-Cognito-Boilerplate icon indicating copy to clipboard operation
Kangzeroos-AWS-Cognito-Boilerplate copied to clipboard

Project is not stable

Open kitkittan opened this issue 7 years ago • 1 comments

After cloning the project and running npm install and npm run start, when I access the url http://localhost:8080/webpack-dev-server/index.html I get the following stack trace:

Uncaught TypeError: Super expression must either be null or a function, not undefined at _inherits (style.js:25) at style.js:28 at Object.defineProperty.value (style.js:92) at webpack_require (bootstrap ff3d311…:19) at Object. (index.js:15) at Object.defineProperty.value (bundle.js:29654) at webpack_require (bootstrap ff3d311…:19) at Object.defineProperty.value (app.js:14) at webpack_require (bootstrap ff3d311…:19) at Object. (index.js:7)

What should I do to make it work again? Thank you!

kitkittan avatar Jul 18 '17 16:07 kitkittan

Freeze the module versions in package.json on the front-end app. E.g "react": "^0.14.3" -> "react": "0.14.3" Then remove the node_modules directory and re-run npm install.

Kyhz avatar Dec 07 '17 21:12 Kyhz