Cannot find module '../build/Debug/oracledb'
Could install it, but when running with Karma a Jasmine test that uses it, I get the following:
C:\Users\potero\angular\Sunnel_View_Test\unit\jasmine>call karma start C:\Users
potero\angular\Sunnel_View_Test\unit\jasmine\conf\karma.conf.js
04 02 2016 11:42:39.758:INFO [framework.browserify]: registering rebuild (autoWa
tch=true)
04 02 2016 11:42:40.581:ERROR [framework.browserify]: bundle error
04 02 2016 11:42:40.581:ERROR [framework.browserify]: Error: Cannot find module
'../build/Release/oracledb' from 'C:\Users\potero\node_modules\oracledb\lib'
04 02 2016 11:42:40.583:WARN [karma]: No captured browser, open http://localhost
:9876/
04 02 2016 11:42:40.590:INFO [karma]: Karma v0.13.19 server started at http://lo
calhost:9876/
04 02 2016 11:42:40.599:INFO [launcher]: Starting browser IE
04 02 2016 11:42:40.608:INFO [launcher]: Starting browser Chrome
04 02 2016 11:42:40.613:ERROR [framework.browserify]: bundle error
04 02 2016 11:42:40.613:ERROR [framework.browserify]: Error: Cannot find module
'../build/Debug/oracledb' from 'C:\Users\potero\node_modules\oracledb\lib'
04 02 2016 11:42:40.615:INFO [framework.browserify]: bundle updated
04 02 2016 11:42:41.318:INFO [IE 11.0.0 (Windows 8.1 0.0.0)]: Connected on socke
t /#jugOlM6ncxlElbTbAAAA with id 28583632
04 02 2016 11:42:43.555:INFO [Chrome 48.0.2564 (Windows 8.1 0.0.0)]: Connected o
n socket /#bwze1YzRw7uyxQfwAAAB with id 57743574
START: IE 11.0.0 (Windows 8.1 0.0.0) ERROR bundle error (see logs) at C:/Users/potero/AppData/Local/Temp/fcd332ac97c6f0099b6d2cbea5282df8.browser ify:1 Chrome 48.0.2564 (Windows 8.1 0.0.0) ERROR Uncaught Error: bundle error (see logs) at C:/Users/potero/AppData/Local/Temp/fcd332ac97c6f0099b6d2cbea5282df8.browser ify:1
Finished in 3.922 secs / 0 secs
SUMMARY: V 0 tests completed
It catches my attention that it seems to be looking for some file in the node project in my homepath, even though I installed on the path of the project I was working. Still, those files are not there anyway.
Btw there's an old issue with this error. The poster solved it by re installing node. Didn't work for me.
'oracledb' is a different project. Try posting to https://github.com/oracle/node-oracledb
is this issue solved? I have the same problem!