I am trying to run npm start on react and am coming up with the following error. I have tried re-installing npm and node.js. Error bind is not a function error continues to come up. What am I missing?
PS C:\Users\XXXXXXXXXX> npm run start
\XXXXXXXXX\node_modules\renderkid\node_modules\domutils\index.js:12
DomUtils[key] = ext[key].bind(DomUtils);
^
TypeError: ext[key].bind is not a function
at C:\XXXXXXXXXXXX\node_modules\renderkid\node_modules\domutils\index.js:12:28
at Array.forEach (<anonymous>)
at C:\XXXXXXXXXXXX\node_modules\renderkid\node_modules\domutils\index.js:11:19
at Array.forEach (<anonymous>)
at Object.<anonymous> (XXXXXXXXXXXX\node_modules\renderkid\node_modules\domutils\index.js:10:3)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
npm ERR! code 1
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c set PORT=3005 && react-scripts start
This is were the DomUtils is being called out in node_modules > Domutils > index.js
var DomUtils = module.exports;
[
require("./lib/stringify"),
require("./lib/traversal"),
require("./lib/manipulation"),
require("./lib/querying"),
require("./lib/legacy"),
require("./lib/helpers")
].forEach(function(ext){
Object.keys(ext).forEach(function(key){
DomUtils[key] = ext[key].bind(DomUtils);
});
});