javascript - Uncaught TypeError: Cannot read property 'prototype' of undefined (inherits_browser.js) -
after porting our app newer version of create-react-app
following error started occurring:
seems reffering inherits_browser.js
coming npm module can't pinpoint. line error refers in file ctor.prototype = object.create(superctor.prototype,
, seems used webpack somehow.
has experienced issue before / can suggest problematic areas can occur in?
edit
digging deeper issue seems coming file (cipherbase.js)
i had exact problem today. guess had outdated package in project's node_modules
folder, because removing , reinstalling fixed problem.
rm -rf node_modules dist npm install webpack --config ./webpack_prod.config.js
notice in case webpack installed locally devdependency. doing rm -rf node_modules
, npm install
reinstalled webpack , dependencies.
for reference, i'm running webpack 2.2.1, node.js 7.7.4 , npm 4.1.2.
Comments
Post a Comment