I am using pkg to bundle the node application which uses node-windows to run it as a service. But the executable doesn't seam to start the service. I am not getting any error as well. Do we need add any additional configurations to the package.json to build?
Asked
Active
Viewed 596 times
2
-
1Give some more information about what problem you are facing and what's your aim. – Pushprajsinh Chudasama Jan 27 '20 at 11:59
-
Have you tried running "npm link node-windows" in the project root first? Also showing the code would be a great help. – WMRamadan Feb 02 '20 at 06:55
1 Answers
0
Make sure that you are adding the following in your package.json
file:
"pkg": {
"scripts": "build/**/*.js",
"assets": "views/**/*"
}

Muhammad Zeeshan
- 4,608
- 4
- 15
- 41