Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 439 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
OJET installation 'npm -g install @oracle/ojet-cli' command problem

Hi all,
I was having a problem with installing OJET command line interface after I enter the 'npm -g install @oracle/ojet-cli' command. I am using a Mac and it outputs an error stating :-
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/@oracle%2fojet-cli failed, reason: getaddrinfo ENOTFOUND my.proxyserver.com
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
I was downloading it for learning purposes and I am not using a proxy . What do you recommend me to do?
Best Answers
-
I can't tell you what your development environment should look like. If you truly think that you don't need a proxy server, and it currently has one set (to what looks like a bogus value) I would remove that and try again.
Again, I can't tell you what your personal environment should be though.
-
I deleted the https-proxy using 'npm config delete https-proxy' and it installed just fine
Thanks
Answers
-
This is a network error related to your environment. It really isn't a JET issue. You will need to figure out what you have configured in the way of proxies and npm config. You can try typing "npm config list" to see what it is currently using.
Make sure you are also using an LTS release of Nodejs and not the "current" version or some very old version.
-
Thanks for the fast reply, I downloaded the LTS release of NodeJs.
what should the configuration look like, it showed me an https-proxy = "http://my.proxyserver.com:80/"; im assuming a default. what should it be setup as ?
-
I can't tell you what your development environment should look like. If you truly think that you don't need a proxy server, and it currently has one set (to what looks like a bogus value) I would remove that and try again.
Again, I can't tell you what your personal environment should be though.
-
I deleted the https-proxy using 'npm config delete https-proxy' and it installed just fine
Thanks