Search code examples
reactjsradium

Can't resolve radium


I am new to React Environment, and was going through a tutorial and tried to install Radium for css pseudo behaviour using visual integrated terminal.

npm i --save radium

the radium has been installed and added to the package.json

enter image description here

but after making changes and saving compilation has been failed and throwing the following error.

Module not found: Can't resolve './../../webpack/buildin/global.js' in 'D:\maximillian-react\react-complete-guide\node_modules\radium\es'

What went wrong?

and Thanks in advance


Solution

  • Oh, It's really bad but I found what went wrong, I just installed the dependencies using

    npm install
    

    and everything is working fine.