{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron-rebuild/issues/81","repository_url":"https://api.github.com/repos/electron/electron-rebuild","labels_url":"https://api.github.com/repos/electron/electron-rebuild/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron-rebuild/issues/81/comments","events_url":"https://api.github.com/repos/electron/electron-rebuild/issues/81/events","html_url":"https://github.com/electron/electron-rebuild/issues/81","id":164152334,"number":81,"title":"Rebuild fails on Windows with NSLOG error","user":{"login":"kgentes","id":5266827,"avatar_url":"https://avatars.githubusercontent.com/u/5266827?v=3","gravatar_id":"","url":"https://api.github.com/users/kgentes","html_url":"https://github.com/kgentes","followers_url":"https://api.github.com/users/kgentes/followers","following_url":"https://api.github.com/users/kgentes/following{/other_user}","gists_url":"https://api.github.com/users/kgentes/gists{/gist_id}","starred_url":"https://api.github.com/users/kgentes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgentes/subscriptions","organizations_url":"https://api.github.com/users/kgentes/orgs","repos_url":"https://api.github.com/users/kgentes/repos","events_url":"https://api.github.com/users/kgentes/events{/privacy}","received_events_url":"https://api.github.com/users/kgentes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-06T19:15:13Z","updated_at":"2016-07-19T02:54:24Z","closed_at":"2016-07-06T19:52:17Z","body":"Every time I rebuild against electron,  the following error is occurring in the command line output:\r\n\r\n> gyp ERR! clean error\r\n> gyp ERR! stack Error: EPERM: operation not permitted, unlink 'C:\\git\\translation-utility\\node_modules\\nslog\\build\\Release\\nslog.node'\r\n> gyp ERR! stack     at Error (native)\r\n> gyp ERR! System Windows_NT 6.1.7601\r\n> gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\git\\\\translation-utility\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"\r\n> gyp ERR! cwd C:\\git\\translation-utility\\node_modules\\nslog\r\n> gyp ERR! node -v v6.2.2\r\n> gyp ERR! node-gyp -v v3.3.1\r\n> gyp ERR! not ok\r\n> \r\n> npm ERR! Windows_NT 6.1.7601\r\n> npm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\git\\\\translation-utility\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"rebuild\" \"--runtime=electron\" \"--target=1.2.6\" \"--arch=x64\"\r\n> npm ERR! node v6.2.2\r\n> npm ERR! npm  v3.10.3\r\n> npm ERR! code ELIFECYCLE\r\n> npm ERR! nslog@3.0.0 install: `node-gyp rebuild`\r\n> npm ERR! Exit status 1\r\n> npm ERR!\r\n> npm ERR! Failed at the nslog@3.0.0 install script 'node-gyp rebuild'.\r\n> npm ERR! Make sure you have the latest version of node.js and npm installed.\r\n> npm ERR! If you do, this is most likely a problem with the nslog package,\r\n> npm ERR! not with npm itself.\r\n> npm ERR! Tell the author that this fails on your system:\r\n> npm ERR!     node-gyp rebuild\r\n> npm ERR! You can get information on how to open an issue for this project with:\r\n> npm ERR!     npm bugs nslog\r\n> npm ERR! Or if that isn't available, you can get their info via:\r\n> npm ERR!     npm owner ls nslog\r\n> npm ERR! There is likely additional logging output above.\r\n> \r\n> npm ERR! Please include the following file with any support request:\r\n> npm ERR!     C:\\git\\translation-utility\\node_modules\\npm-debug.log\r\n\r\n\r\nAdditionally, here is the log file that shows the error as \r\n\r\n> 12882 verbose rebuildBundles nslog@3.0.0\r\n> 12883 info lifecycle nslog@3.0.0~install: nslog@3.0.0\r\n> 12884 verbose lifecycle nslog@3.0.0~install: unsafe-perm in lifecycle true\r\n> 12885 verbose lifecycle nslog@3.0.0~install: PATH: C:\\git\\translation-utility\\node_modules\\npm\\bin\\node-gyp-bin;C:\\git\\translation-utility\\node_modules\\nslog\\node_modules\\.bin;C:\\git\\translation-utility\\node_modules\\.bin;C:\\Program Files\\nodejs;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Program Files (x86)\\IBM\\RationalSDLC\\common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin;C:\\Program Files (x86)\\IBM\\gsk8\\lib;C:\\Program Files (x86)\\IBM\\gsk8\\bin;C:\\Program Files (x86)\\Collaborator Client;C:\\Program Files (x86)\\Common Files\\Rockwell\\;C:\\Program Files (x86)\\Rockwell Software\\RSCommon;C:\\Program Files (x86)\\Rockwell Automation\\BatchVersion;C:\\Program Files\\Git\\cmd;C:\\Program Files\\nodejs\\;C:\\Program Files (x86)\\Microsoft VS Code\\bin;C:\\Users\\jediuser\\AppData\\Roaming\\npm\r\n> 12886 verbose lifecycle nslog@3.0.0~install: CWD: C:\\git\\translation-utility\\node_modules\\nslog\r\n> 12887 silly lifecycle nslog@3.0.0~install: Args: [ '/d /s /c', 'node-gyp rebuild' ]\r\n> 12888 silly lifecycle nslog@3.0.0~install: Returned: code: 1  signal: null\r\n> 12889 info lifecycle nslog@3.0.0~install: Failed to exec install script\r\n> 12890 verbose stack Error: nslog@3.0.0 install: `node-gyp rebuild`\r\n> 12890 verbose stack Exit status 1\r\n> 12890 verbose stack     at EventEmitter.<anonymous> (C:\\git\\translation-utility\\node_modules\\npm\\lib\\utils\\lifecycle.js:242:16)\r\n> 12890 verbose stack     at emitTwo (events.js:106:13)\r\n> 12890 verbose stack     at EventEmitter.emit (events.js:191:7)\r\n> 12890 verbose stack     at ChildProcess.<anonymous> (C:\\git\\translation-utility\\node_modules\\npm\\lib\\utils\\spawn.js:40:14)\r\n> 12890 verbose stack     at emitTwo (events.js:106:13)\r\n> 12890 verbose stack     at ChildProcess.emit (events.js:191:7)\r\n> 12890 verbose stack     at maybeClose (internal/child_process.js:852:16)\r\n> 12890 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)\r\n> 12891 verbose pkgid nslog@3.0.0\r\n> 12892 verbose cwd C:\\git\\translation-utility\\node_modules\r\n> 12893 error Windows_NT 6.1.7601\r\n> 12894 error argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\git\\\\translation-utility\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"rebuild\" \"--runtime=electron\" \"--target=1.2.6\" \"--arch=x64\"\r\n> 12895 error node v6.2.2\r\n> 12896 error npm  v3.10.3\r\n> 12897 error code ELIFECYCLE\r\n> 12898 error nslog@3.0.0 install: `node-gyp rebuild`\r\n> 12898 error Exit status 1\r\n> 12899 error Failed at the nslog@3.0.0 install script 'node-gyp rebuild'.\r\n> 12899 error Make sure you have the latest version of node.js and npm installed.\r\n> 12899 error If you do, this is most likely a problem with the nslog package,\r\n> 12899 error not with npm itself.\r\n> 12899 error Tell the author that this fails on your system:\r\n> 12899 error     node-gyp rebuild\r\n> 12899 error You can get information on how to open an issue for this project with:\r\n> 12899 error     npm bugs nslog\r\n> 12899 error Or if that isn't available, you can get their info via:\r\n> 12899 error     npm owner ls nslog\r\n> 12899 error There is likely additional logging output above.\r\n> 12900 verbose exit [ 1, true ]\r\n> \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/electron/electron-rebuild/issues/comments/233516952","html_url":"https://github.com/electron/electron-rebuild/issues/81#issuecomment-233516952","issue_url":"https://api.github.com/repos/electron/electron-rebuild/issues/81","id":233516952,"user":{"login":"kgentes","id":5266827,"avatar_url":"https://avatars.githubusercontent.com/u/5266827?v=3","gravatar_id":"","url":"https://api.github.com/users/kgentes","html_url":"https://github.com/kgentes","followers_url":"https://api.github.com/users/kgentes/followers","following_url":"https://api.github.com/users/kgentes/following{/other_user}","gists_url":"https://api.github.com/users/kgentes/gists{/gist_id}","starred_url":"https://api.github.com/users/kgentes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgentes/subscriptions","organizations_url":"https://api.github.com/users/kgentes/orgs","repos_url":"https://api.github.com/users/kgentes/repos","events_url":"https://api.github.com/users/kgentes/events{/privacy}","received_events_url":"https://api.github.com/users/kgentes/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T02:54:24Z","updated_at":"2016-07-19T02:54:24Z","body":"No fix was done.. I couldn't get anyone to respond with either a resolution\nor clarity if it was a problem with this or another package.\n\nI did find out that the issue is that this process creates a file in this\nformat:\n\n.ersrc.\n\nWhich isn't a valid filename in windows. It can't be deleted unless you get\nit's shortname first (dir /x) ...  then you can delete it with command line\ndel.\n\nStill, the process should not be creating illegal filenames in Windows..\nOn Jul 18, 2016 7:44 PM, \"Sandy Martel\" <notifications@github.com> wrote:\n\nSame here. So this is closed, what's the fix ?\n\n—\nYou are receiving this because you authored the thread.\nReply to this email directly, view it on GitHub\n<https://github.com/electron/electron-rebuild/issues/81#issuecomment-233515850>,\nor mute the thread\n<https://github.com/notifications/unsubscribe-auth/AFBdiz9WUx9uhE8z8UvPUWJpRngYU5Pcks5qXDongaJpZM4JGaKE>\n.\n"}}
{"actor":{"display_login":"kgentes"}}