Please let me know where I'm going wrong, hopefully I am making a mistake. pkg . and pkg index.js get same result. Set up through ec2 instance on aws (reason for ssh)
From previous solutions I saw cp to path to executable. What is that path? Why is mine not working?


Seen other issues and tried solutions with no success.
package.json
{
"name": "notifiy",
"version": "1.0.0",
"description": "",
"main": "index.js",
"bin": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"babel": "^6.23.0",
"node-notifier": "^10.0.1",
"path": "^0.12.7",
"ssh2": "^1.13.0"
}
}
Running locally node index.js works... after accepting permissions.