Cant install cordova in my mac os x - macos

When I am installing through terminal I got the error below
npm ERR! network getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is 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'
npm ERR! System Darwin 13.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "cordova"
npm ERR! cwd /Users/abp2
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! syscall getaddrinfo
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/abp2/npm-debug.log
npm ERR! not ok code 0
I followed many answers in this community, but still not able to install this.
According to some suggestion I have change install cordova code like that
$ sudo npm --proxy proxy-server:8080 install -g cordova
But here I am getting problem like that
npm ERR! fetch failed https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/glob/-/glob-4.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/npmconf/-/npmconf-0.1.16.tgz
npm ERR! fetch failed https://registry.npmjs.org/osenv/-/osenv-0.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/plist/-/plist-1.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/rc/-/rc-0.5.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/request/-/request-2.47.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/tar/-/tar-1.0.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/glob/-/glob-4.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/npmconf/-/npmconf-0.1.16.tgz
npm ERR! fetch failed https://registry.npmjs.org/osenv/-/osenv-0.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/plist/-/plist-1.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/rc/-/rc-0.5.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/request/-/request-2.47.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/tar/-/tar-1.0.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/glob/-/glob-4.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/npmconf/-/npmconf-0.1.16.tgz
npm ERR! fetch failed https://registry.npmjs.org/osenv/-/osenv-0.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/plist/-/plist-1.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/rc/-/rc-0.5.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/request/-/request-2.47.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/tar/-/tar-1.0.2.tgz
npm ERR! network tunneling socket could not be established, cause=connect EHOSTUNREACH
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is 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'
npm ERR! System Darwin 13.4.0
npm ERR! command "node" "/usr/local/bin/npm" "--proxy" "proxy-server:8080" "install" "-g" "cordova"
npm ERR! cwd /Users/abp2
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ECONNRESET
npm ERR! not ok code 0
Thanks in advance.

Related

Unable to install botbuilder-ai-orchestrator on my existing bot

I have created a bot with azure bot framework composer and it seems to be working fine. Now I want to add other bots as skills in it and I am required to install botbuilder-ai-orchestrator bit it is failing with the following error
Command failed: npm install --loglevel=error --save botbuilder-ai-orchestrator npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: BotName#undefined npm ERR! Found: botbuilder-dialogs-declarative#4.15.0-preview npm ERR! node_modules/botbuilder-dialogs-declarative npm ERR! peer botbuilder-dialogs-declarative#"~4.15.0-preview" from #microsoft/bot-components-teams#1.2.1 npm ERR! node_modules/#microsoft/bot-components-teams npm ERR! #microsoft/bot-components-teams#"^1.2.1" from the root project npm ERR! botbuilder-dialogs-declarative#"4.15.0-preview" from botbuilder-ai#4.15.0 npm ERR! node_modules/botbuilder-ai npm ERR! botbuilder-ai#"4.15.0" from botbuilder-ai-luis#4.15.0-preview npm ERR! node_modules/botbuilder-ai-luis npm ERR! botbuilder-ai-luis#"4.15.0-preview" from botbuilder-dialogs-adaptive-runtime#4.15.0-preview npm ERR! node_modules/botbuilder-dialogs-adaptive-runtime npm ERR! botbuilder-dialogs-adaptive-runtime#"4.15.0-preview" from botbuilder-dialogs-adaptive-runtime-integration-express#4.15.0-preview npm ERR! node_modules/botbuilder-dialogs-adaptive-runtime-integration-express npm ERR! 1 more (the root project) npm ERR! botbuilder-ai#"4.15.0" from botbuilder-ai-qna#4.15.0-preview npm ERR! node_modules/botbuilder-ai-qna npm ERR! botbuilder-ai-qna#"4.15.0-preview" from botbuilder-dialogs-adaptive-runtime#4.15.0-preview npm ERR! node_modules/botbuilder-dialogs-adaptive-runtime npm ERR! botbuilder-dialogs-adaptive-runtime#"4.15.0-preview" from botbuilder-dialogs-adaptive-runtime-integration-express#4.15.0-preview npm ERR! node_modules/botbuilder-dialogs-adaptive-runtime-integration-express npm ERR! 1 more (the root project) npm ERR! 2 more (botbuilder-dialogs-adaptive, botbuilder-dialogs-adaptive-runtime) npm ERR! npm ERR! Could not resolve dependency: npm ERR! botbuilder-ai-orchestrator#"*" from the root project npm ERR! npm ERR! Conflicting peer dependency: botbuilder-dialogs-declarative#4.16.0-preview npm ERR! node_modules/botbuilder-dialogs-declarative npm ERR! peer botbuilder-dialogs-declarative#"4.16.0-preview" from botbuilder-ai-orchestrator#4.16.0 npm ERR! node_modules/botbuilder-ai-orchestrator npm ERR! botbuilder-ai-orchestrator#"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See C:\Users\username\AppData\Local\npm-cache\eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\username\AppData\Local\npm-cache\_logs\2022-07-14T10_23_29_714Z-debug-0.log
Node version installed on my machine is 16.16.0
Below is the list of dependencies already insatlled
"#microsoft/bot-components-teams": "^1.2.1",
"botbuilder-ai-luis": "4.15.0-preview",
"botbuilder-ai-qna": "4.15.0-preview",
"botbuilder-dialogs-adaptive-runtime-integration-express": "4.15.0-preview",
"cross-env": "latest"

Error when Trying to install aglio with npm

npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist/drafter/ext/sos/test/ext/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-#googlegroups.com>
npm ERR! System Linux 3.4.0+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "aglio"
npm ERR! cwd /mnt/c/Users/HEWLETT PACKARD'
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /usr/local/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist/drafter/ext/sos/test/ext/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj
npm ERR! fstream_path /usr/local/lib/node_modules/aglio/node_modules/drafter/node_modules/protagonist/drafter/ext/sos/test/ext/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! weird error 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /mnt/c/Users/HEWLETT PACKARD'/npm-debug.log
npm ERR! not ok code 0
I am not sure about this problem. I have tried, but it is useless.
If the above error is not readable, you can see the link here.
Reference to agilo.
Resolved:
I used nvm and successfully installed aglio using node v0.12.
Discussed on the issue of github aglio
https://github.com/danielgtaylor/aglio/issues/175

ENOTFOUND Error while installing cordova via npm

I get an errno ENOTFOUND error when trying to install cordova via npm.
This is the command I'm using:
sena$ sudo npm install -g cordova npm
And this is the response:
ERR! Darwin 14.3.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "cordova"
npm ERR! node v4.1.0 npm ERR! npm v2.14.3 npm ERR! code ENOTFOUND npm
ERR! errno ENOTFOUND npm ERR! syscall getaddrinfo
npm ERR! network getaddrinfo ENOTFOUND registry.npmjs.org
registry.npmjs.org:443 npm ERR! network This is most likely not a
problem with npm itself npm ERR! network and is 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'

Web starter kit installation Error

when i run the installation process and put npm install in the command line after running some processes it gives me this :
npm ERR! safefs#3.0.6 preinstall: `node ./cyclic.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the safefs#3.0.6 preinstall script.
npm ERR! This is most likely a problem with the safefs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./cyclic.js
npm ERR! You can get their info via:
npm ERR! npm owner ls safefs
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\Users\Class Talkies\Desktop\www\web-starter-kit-master
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! syscall spawn
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! not ok code 0
I also got a few errors upon installing via the npm install command, but in order to get it to go away I relaunched command prompt in administrator mode. It solved the problem easily.
Hope it helps!

ENOTFOUND error while installing 'express' in Node.js - Windows

I'm trying to install express package of Node.js through my Windows 7 CMD.
I did a
npm install express
and I'm getting the following error :
npm ERR! Error: getaddrinfo ENOENT
npm ERR! at errnoException (dns.js:31:11)
npm ERR! at Object.onanswer [as oncomplete] (dns.js:140:16)
and
npm ERR! cwd D:\node
npm ERR! node -v v0.6.15
npm ERR! npm -v 1.1.16
npm ERR! syscall getaddrinfo
npm ERR! code ENOTFOUND
npm ERR! message getaddrinfo ENOENT
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\node\npm-debug.log
npm not ok
I'm working behind a Firewall. Is that by any chance, the reason behind this?
Many thanks!
run cmd with administrator and it will work.

Resources