Skip to content
Advertisement

events.js 167 error in React Installation

I am trying to setup react in my PC. I have completed downloading the reacr modules and am starting to run through local server and these errors occur to me.

JavaScript

I know it’s simple error for local server and tried to open the index.html file manually then it didnot show the react logo but instead showed something like this.

Please help me through the installation. npm install error

enter image description here

Advertisement

Answer

It was due to inconsistency in npm versions I guess. I had deleted node modules and re-installed all the modules again using npm-install.

It worked fine from then.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement