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:

enter image description here

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)

enter image description here

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

Popular posts from this blog

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -