2

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?

Joe Doyle
  • 6,363
  • 3
  • 42
  • 45
AbiSivam
  • 419
  • 1
  • 6
  • 17

1 Answers1

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