{"action":"created","issue":{"url":"https://api.github.com/repos/coreybutler/node-windows/issues/135","repository_url":"https://api.github.com/repos/coreybutler/node-windows","labels_url":"https://api.github.com/repos/coreybutler/node-windows/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/coreybutler/node-windows/issues/135/comments","events_url":"https://api.github.com/repos/coreybutler/node-windows/issues/135/events","html_url":"https://github.com/coreybutler/node-windows/issues/135","id":177505946,"number":135,"title":"error creating service","user":{"login":"roggaioso","id":8786908,"avatar_url":"https://avatars.githubusercontent.com/u/8786908?v=3","gravatar_id":"","url":"https://api.github.com/users/roggaioso","html_url":"https://github.com/roggaioso","followers_url":"https://api.github.com/users/roggaioso/followers","following_url":"https://api.github.com/users/roggaioso/following{/other_user}","gists_url":"https://api.github.com/users/roggaioso/gists{/gist_id}","starred_url":"https://api.github.com/users/roggaioso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roggaioso/subscriptions","organizations_url":"https://api.github.com/users/roggaioso/orgs","repos_url":"https://api.github.com/users/roggaioso/repos","events_url":"https://api.github.com/users/roggaioso/events{/privacy}","received_events_url":"https://api.github.com/users/roggaioso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-16T19:47:58Z","updated_at":"2016-09-20T11:29:17Z","closed_at":null,"body":"I installed the node-windows, I did the script to create a service, but the service wasn't created. In prompt, I ran the .exe generated in daemon folder, and received the following error:\r\n` System.ArgumentNullException : Value can not be null Parameter name: . Path1 `\r\n\r\nThis is my script:\r\n`var Service = require('node-windows').Service;`\r\n`var svc = new Service({\r\n  name:'bdogo-api',\r\n  description: '..........',\r\n  script: 'E:\\\\apps\\\\js\\\\bdogo-api\\\\app.js',\r\n  wait: 2,\r\n  grow: .5,\r\n  maxRetries: 3,\r\n  maxRestarts: 5\r\n});`\r\n`svc.on('install',function(){\r\n  svc.start();\r\n});`\r\n`svc.install();`\r\n\r\nSo, I tried to unnistall the service, and received the following message :\r\n`Fs.js : 1089\r\n return binding.unlink ( pathModule._makeLong (path ) ) ;`\r\n\r\n`Error : EPERM : operation not permitted , unlink 'E:\\apps\\js\\bdogo-api\\daemon\\bdogoapi.exe ' . `\r\nCan you help me?"},"comment":{"url":"https://api.github.com/repos/coreybutler/node-windows/issues/comments/248275095","html_url":"https://github.com/coreybutler/node-windows/issues/135#issuecomment-248275095","issue_url":"https://api.github.com/repos/coreybutler/node-windows/issues/135","id":248275095,"user":{"login":"roggaioso","id":8786908,"avatar_url":"https://avatars.githubusercontent.com/u/8786908?v=3","gravatar_id":"","url":"https://api.github.com/users/roggaioso","html_url":"https://github.com/roggaioso","followers_url":"https://api.github.com/users/roggaioso/followers","following_url":"https://api.github.com/users/roggaioso/following{/other_user}","gists_url":"https://api.github.com/users/roggaioso/gists{/gist_id}","starred_url":"https://api.github.com/users/roggaioso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roggaioso/subscriptions","organizations_url":"https://api.github.com/users/roggaioso/orgs","repos_url":"https://api.github.com/users/roggaioso/repos","events_url":"https://api.github.com/users/roggaioso/events{/privacy}","received_events_url":"https://api.github.com/users/roggaioso/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T11:29:17Z","updated_at":"2016-09-20T11:29:17Z","body":"This is my first node application. I used the Express to generate the initial code and made some adjustments. It seeks values ​​in a MongoDB and displays them as webservices.\r\n\r\napp.js (node-windows service start this file)\r\n[app.js.txt](https://github.com/coreybutler/node-windows/files/482385/app.js.txt)\r\nagencias.js (one of the routes)\r\n[agencias.js.txt](https://github.com/coreybutler/node-windows/files/482388/agencias.js.txt)\r\nagencia.js (one of the shemas)\r\n[agencia.js.txt](https://github.com/coreybutler/node-windows/files/482397/agencia.js.txt)\r\n\r\n\r\nThere is an Apache running on this machine. As I would call forwarding for this application being executed by the service created with node-windows, since they do not know which port it is running ?"}}
{"actor":{"display_login":"roggaioso"}}