A Node.js module for sending notifications on native Mac, Windows and Linux (or Growl as fallback)
MIT License
5.72k
stars
323
forks
source link
pkg does not work with this > Warning Cannot include file %1 into executable. log.js:55 The file must be distributed with executable as %2. log.js:40 %1: node_modules/node-notifier/vendor/notifu/notifu.exe log.js:40 %2: path-to-executable/notifier/notifu.exe #435
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.
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.