Error: Cannot find module 'solidity-compiler'


#1

Just started to use the IDE and got this error right after I tried to run the example test. Didn’t touch anything yet.

Console

Debugger listening on port 15454                                                                                                                                                 
module.js:327                                                                                                                                                                    
    throw err;                                                                                                                                                                   
    ^                                                                                                                                                                            
                                                                                                                                                                                 
Error: Cannot find module 'solidity-compiler'                                                                                                                                    
    at Function.Module._resolveFilename (module.js:325:15)                                                                                                                       
    at Function.Module._load (module.js:276:25)                                                                                                                                  
    at Module.require (module.js:353:17)                                                                                                                                         
    at require (internal/module.js:12:17)                                                                                                                                        
    at Object.<anonymous> (/root/workspace/example-project/test/contract_test.js:2:16)                                                                                           
    at Module._compile (module.js:409:26)                                                                                                                                        
    at Object.Module._extensions..js (module.js:416:10)                                                                                                                          
    at Module.load (module.js:343:32)                                                                                                                                            
    at Function.Module._load (module.js:300:12)                                                                                                                                  
    at Module.runMain [as _onTimeout] (module.js:441:10)                                                                                                                         
                                                                                                                                                                                 
                                                                                                                                                                                 
Process exited with code: 1

#2

Go to menu Window -> New Terminal and type
npm install

In general proceed as explained in README.md