While attempting to install the node.js agent via 'npm install appdynamics, npm is getting 403 - Forbidden errors while attempting to retrieve files. Log file is below. Do I need to be authenticated in some way to install the agent?
Thanks,
-Justin
npm ERR! fetch failed http://packages.appdynamics.com/npm/3.9.0.0/appdynamics-pr
otobuf.tgz
npm ERR! fetch failed http://packages.appdynamics.com/npm/3.9.0.0/appdynamics-na
tive.tgz
npm ERR! fetch failed http://packages.appdynamics.com/npm/3.9.0.0/appdynamics-jr
e.tgz
npm ERR! fetch failed http://packages.appdynamics.com/npm/3.9.0.0/appdynamics-pr
oxy.tgz
npm ERR! fetch failed http://packages.appdynamics.com/npm/3.9.0.0/appdynamics-zm
q.tgz
npm ERR! Error: 403 Forbidden
npm ERR! at WriteStream.<anonymous> (C:\Program Files\nodejs\node_modules\np
m\lib\utils\fetch.js:58:12)
npm ERR! at WriteStream.emit (events.js:117:20)
npm ERR! at evalmachine.<anonymous>:1609:14
npm ERR! at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-f
s\graceful-fs.js:102:5
npm ERR! at Object.oncomplete (evalmachine.<anonymous>:107:15)
Hi Justin,
From the attached errors (C:\Program Files\nodejs\node_modules\npm\lib\utils\fetch.js) it looks like you are trying to setup the agent on windows OS which is not supported at the moment.
Request you to please try the NodeJS agent with Linux / OSX and let us know if you came across any issues. For more details on supported environments and node versions please refer the link https://docs.appdynamics.com/display/PRO39/Supported+Environments+and+Versions+for+Node.js
Best Regards,
Piyush
Hi Justin,
From the attached errors (C:\Program Files\nodejs\node_modules\npm\lib\utils\fetch.js) it looks like you are trying to setup the agent on windows OS which is not supported at the moment.
Request you to please try the NodeJS agent with Linux / OSX and let us know if you came across any issues. For more details on supported environments and node versions please refer the link https://docs.appdynamics.com/display/PRO39/Supported+Environments+and+Versions+for+Node.js
Best Regards,
Piyush
Hi Piyush
Does the NodeJS agent support windows OS right now? Seems I try to download the agent in the windows OS but it still met this issue. I use the command "npm install appdynamics@4.1.6".
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "D:\\server\\nodejs\\\\node.exe" "D:\\server\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "appdynamics@4.1.6"
npm ERR! node v0.11.14
npm ERR! npm vSyntaxError: Unexpected string
npm ERR! fetch failed with status code 403
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
Thansk a lot~!
Hi liangzhicong,
The nodejs agent still doesn't support windows environment and hence you encountered the issue. The support for windows is under development but a concrete date for the same cannot be committed at this time. You can check https://docs.appdynamics.com/display/PRO41/Node.js+Supported+Environments link for the supported environment with the current agent version and I suggest you to check for the release page for the added support in case of new major version like (4.2).
Best Regards,
Piyush