2016-02-04 87 views
0

我試圖在Windows 8.1 x64上安裝Node oracledb軟件包,這已知很複雜。我按照this detailed article中的說明操作。在嘗試安裝時,我仍然收到錯誤MSB4019,但我在SO問題中解決了one of the answers。但隨後噶(茉莉測試)運行我的測試時,我得到這個:Node-oracledb無法運行「無法找到模塊」../build/Debug/oracledb'「

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

a similar issue包Github的頁面,但鑑於有(重新安裝節點)的解決方案,我沒有工作的。我也沒有成功安裝oracledb。

我檢查了錯誤消息中提到的文件夾,並且文件不在那裏。

爲什麼需要這些文件?爲什麼不安裝它們?爲什麼它會在我的主文件夾中查找它們,而不是在項目所在的文件夾中?

回答

0

PATH是否包含Oracle客戶端庫(例如Instant Client)?