Node server and npm is not running on Windows 12 EC2 instance in AWS
Node server and npm is not running on Windows 12 EC2 instance in AWS
I am running following command in User Data but I don't see that npm is installing npm_module and also not running node server.I have verified that node is already installed and PATH is already set.My Node code and pacakge.json is under 'MyNodeServer' folder.
$ctiServerDir="D:AppsCTICloudMyNodeServer"
mkdir $ctiServerDir
npm set proxy= myproxy
npm set https-proxy=myhttpsprxy
Set-Location $ctiServerDir
npm install
npm start
npm version 3.10.10 and node v6.11.3
– user3462602
2 days ago
It looks like node is installed under system account and instance is up with system account so I am not sure how to run nodejs under system account
– user3462602
yesterday
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
What version of nodejs you are using? What is npm version? What error you see when you run node application?
– Pramod Jangam
2 days ago