Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module '../build/Debug/oracledb' #267

Open
pedro-otero opened this issue Feb 4, 2016 · 3 comments
Open

Cannot find module '../build/Debug/oracledb' #267

pedro-otero opened this issue Feb 4, 2016 · 3 comments

Comments

@pedro-otero
Copy link

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.

@pedro-otero
Copy link
Author

Btw there's an old issue with this error. The poster solved it by re installing node. Didn't work for me.

@cjbj
Copy link

cjbj commented May 19, 2016

'oracledb' is a different project. Try posting to https://github.com/oracle/node-oracledb

@aralroca
Copy link

is this issue solved? I have the same problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants