Comments (15)
I updated "gulp-git": "^2.5.2" in package.json and it seems to work
from oradew-vscode.
Hi, thanks for your feedback. 😀
You start up workspace with "Initialize Workspace/Version" command that creates configuration file (oradewrc.json) in your working folder.
Can you please try to do that if you haven't already done so and post about results (or errors).
from oradew-vscode.
I have this error:
You must have 64-bit Oracle client libraries in your PATH environment variable.
I have the variable "path" with this folder "C:\product\11.1.0\client_2"
from oradew-vscode.
If you have a 32-bit Oracle driver, please make sure that your Node.js is also 32-bit (ia32) if that is possible. Oracle driver in extension is currently precompiled for this architecture.
from oradew-vscode.
I have 64bit oracle driver and Node.js
from oradew-vscode.
Oracle drivers in extension (node-oracledb) require pre-built binaries for correct architecture. Extension install package is currently built with 32-bit drivers.
I will post a 64-bit version asap.
Could you please tell me your OS and Node.js details (version/arch) ?
from oradew-vscode.
Hey @Danieleeee,
if you are still interested in trying it out..., I think the best way to do it would be to rebuild node-oracledb drivers in extension locally (for now - hopefully this process would get easier in the future somehow 🙏)
- Go to extension folder using Powershell (as Admin)
cd $env:userprofile/.vscode/extensions/mp.oradew-vscode-0.0.2
- Install Windows-Build -Tools:
npm --add-python-to-path install --global --production windows-build-tools
- Rebuild Oracle drivers:
npm rebuild
- If everything goes well, Oradew should now work and you can start using it with "Initialize" command in your workspace.
Please let me know if it worked.
from oradew-vscode.
I have error when I try npm rebuild:
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: tunneling socket could not be established, statusCode=407
gyp ERR! stack at ClientRequest.onConnect (C:\Program Files\nodejs\node_modules\npm\node_modules\request\node_modules\tunnel-agent\index.js:166:19)
gyp ERR! stack at Object.onceWrapper (events.js:255:19)
gyp ERR! stack at ClientRequest.emit (events.js:160:13)
gyp ERR! stack at Socket.socketOnData (_http_client.js:469:11)
gyp ERR! stack at Socket.emit (events.js:160:13)
gyp ERR! stack at addChunk (_stream_readable.js:269:12)
gyp ERR! stack at readableAddChunk (_stream_readable.js:256:11)
gyp ERR! stack at Socket.Readable.push (_stream_readable.js:213:10)
gyp ERR! stack at TCP.onread (net.js:599:20)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\dricci.vscode\extensions\mp.oradew-vscode-0.0.2\node_modules\oracledb
gyp ERR! node -v v9.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
from oradew-vscode.
Can you integrate this extension with sqlTools that works fine with others DB, or plsql-language?
from oradew-vscode.
If you are behind a proxy you should set it correctly.
npm config set proxy http://my-proxy.example.com:80/
npm config set https-proxy http://my-proxy.example.com:80/
npm rebuild
from Error: tunneling socket could not be established,...
or
set http_proxy=http://my-proxy.example.com:80/
set https_proxy=http://my-proxy.example.com:80/
npm install
from Installing node-oracledb Version 2
from oradew-vscode.
Well, I should definitely include precompiled node-oracledb binaries for different architectures in extension package itself. 🤔
from oradew-vscode.
I use a proxy, but it is correctly set up and works for other extensions.
Thanks
from oradew-vscode.
Hi,
finally I recompiled (npm rebuild) the extension in 64 bit.
Now I have this error:
TypeError: require.extensions.hasOwnProperty is not a function
at requireDir (C:\Users\dricci.vscode\extensions\mp.oradew-vscode-0.0.2\node_modules\require-dir\index.js:93:37)
at Object. (C:\Users\dricci.vscode\extensions\mp.oradew-vscode-0.0.2\node_modules\gulp-git\index.js:4:18)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\dricci.vscode\extensions\mp.oradew-vscode-0.0.2\out\config\utils\git.js:2:13)
from oradew-vscode.
I use node version 9.4.0
require.extensions.hasOwnProperty is deprecated
from oradew-vscode.
Thanks a lot for putting extra effort into it and making it work for 64-bit. I upgraded the gulp-git dependency.
from oradew-vscode.
Related Issues (20)
- Run as Script hangs for a few minutes HOT 3
- Windows econding UTF8 problem HOT 42
- Compile error "ERROR ORA-06550: line 3, column 40:" HOT 8
- problems importing packages from the DB HOT 3
- Terminal output problem matcher HOT 26
- Generate: "output" doesn't work
- Extension causes high cpu load HOT 1
- Encoding error when importing the selected object HOT 8
- Displaying umlauts in terminal output
- Encoding problem in SQL-Statements HOT 3
- dbms_metadata.get_ddl does not work when used in UTL_GENERATE_ORADEW HOT 3
- Initialize Workspace not working HOT 8
- Oracle wallet authentication compatibility, userless & passwordless HOT 9
- Error while trying to retrieve text for error ORA-01804 HOT 5
- Drop support for sqlplus, sqlcl Liquibase ci/cd HOT 8
- Support latest version of node HOT 6
- Generating a source from a database HOT 5
- Create source from a non-DEV env
- Problem importing when object has "SQL" in the name HOT 1
- problems connecting to oracle database (proxy authentication) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oradew-vscode.