Your engineers are telling you that the monolith needs to be split into several microservices. Work has slowed to a snails pace. It takes forever to get new features out. Changes often introduce bugs in areas of the code that weren’t even touched. It seems that any step forward is a step backward. Have you… Continue reading Decomposing Monoliths by Cleaning Rooms
Category: Programming
Cannot read property ‘replace’ of undefined
If you get the following while setting up a new React/Babel/Webpack project you forgot to install all of the presets. > webpack-dev-server –content-base client –inline –hot /…/node_modules/webpack/lib/NormalModuleFactory.js:72 var elements = request.replace(/^-?!+/, “”).replace(/!!+/g, “!”).split(“!”); ^ TypeError: Cannot read property ‘replace’ of undefined at /Users/…/node_modules/webpack/lib/NormalModuleFactory.js:72:26 at /Users/…/node_modules/webpack/lib/NormalModuleFactory.js:28:4 at /Users/…/node_modules/webpack/lib/NormalModuleFactory.js:159:3 at NormalModuleFactory.applyPluginsAsyncWaterfall (/Users/…/node_modules/tapable/lib/Tapable.js:75:69) at NormalModuleFactory.create (/Users/…/node_modules/webpack/lib/NormalModuleFactory.js:144:8) at /Users/…/node_modules/webpack/lib/Compilation.js:214:11… Continue reading Cannot read property ‘replace’ of undefined