{"action":"closed","issue":{"url":"https://api.github.com/repos/klokantech/tileserver-gl/issues/90","repository_url":"https://api.github.com/repos/klokantech/tileserver-gl","labels_url":"https://api.github.com/repos/klokantech/tileserver-gl/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/klokantech/tileserver-gl/issues/90/comments","events_url":"https://api.github.com/repos/klokantech/tileserver-gl/issues/90/events","html_url":"https://github.com/klokantech/tileserver-gl/issues/90","id":195773867,"number":90,"title":"npm install","user":{"login":"lucasvw","id":4293177,"avatar_url":"https://avatars.githubusercontent.com/u/4293177?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasvw","html_url":"https://github.com/lucasvw","followers_url":"https://api.github.com/users/lucasvw/followers","following_url":"https://api.github.com/users/lucasvw/following{/other_user}","gists_url":"https://api.github.com/users/lucasvw/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasvw/subscriptions","organizations_url":"https://api.github.com/users/lucasvw/orgs","repos_url":"https://api.github.com/users/lucasvw/repos","events_url":"https://api.github.com/users/lucasvw/events{/privacy}","received_events_url":"https://api.github.com/users/lucasvw/received_events","type":"User","site_admin":false},"labels":[{"id":425099643,"url":"https://api.github.com/repos/klokantech/tileserver-gl/labels/docs","name":"docs","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"petrsloup","id":707817,"avatar_url":"https://avatars.githubusercontent.com/u/707817?v=3","gravatar_id":"","url":"https://api.github.com/users/petrsloup","html_url":"https://github.com/petrsloup","followers_url":"https://api.github.com/users/petrsloup/followers","following_url":"https://api.github.com/users/petrsloup/following{/other_user}","gists_url":"https://api.github.com/users/petrsloup/gists{/gist_id}","starred_url":"https://api.github.com/users/petrsloup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrsloup/subscriptions","organizations_url":"https://api.github.com/users/petrsloup/orgs","repos_url":"https://api.github.com/users/petrsloup/repos","events_url":"https://api.github.com/users/petrsloup/events{/privacy}","received_events_url":"https://api.github.com/users/petrsloup/received_events","type":"User","site_admin":false},"assignees":[{"login":"petrsloup","id":707817,"avatar_url":"https://avatars.githubusercontent.com/u/707817?v=3","gravatar_id":"","url":"https://api.github.com/users/petrsloup","html_url":"https://github.com/petrsloup","followers_url":"https://api.github.com/users/petrsloup/followers","following_url":"https://api.github.com/users/petrsloup/following{/other_user}","gists_url":"https://api.github.com/users/petrsloup/gists{/gist_id}","starred_url":"https://api.github.com/users/petrsloup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrsloup/subscriptions","organizations_url":"https://api.github.com/users/petrsloup/orgs","repos_url":"https://api.github.com/users/petrsloup/repos","events_url":"https://api.github.com/users/petrsloup/events{/privacy}","received_events_url":"https://api.github.com/users/petrsloup/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-15T10:50:37Z","updated_at":"2016-12-20T13:54:54Z","closed_at":"2016-12-20T13:54:54Z","body":"Hi guys,\r\n\r\nI am trying to setup the tileserver-gl. Unfortunately I have no access to docker on the VM (Ubuntu 16.04), so I have to install over npm. I am having some problems during\r\n\r\n    sudo npm install tileserver-gl -g --unsafe-perm\r\n\r\n\r\nNamely:\r\n\r\n\r\n```\r\n26708 error argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"tileserver-gl\" \"-g\" \"--unsafe-perm\"\r\n26709 error node v6.9.2\r\n26710 error npm  v3.10.9\r\n26711 error path /usr/lib/node_modules/.staging/abbrev-4786dede\r\n26712 error code ENOENT\r\n26713 error errno -2\r\n26714 error syscall rename\r\n26715 error enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-4786dede' -> '/usr/lib/node_modules/tileserver-gl/node_modules/abbrev'\r\n26716 error enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-4786dede' -> '/usr/lib/node_modules/tileserver-gl/node_modules/abbrev'\r\n26716 error enoent This is most likely not a problem with npm itself\r\n26716 error enoent and is related to npm not being able to find a file.\r\n26717 verbose exit [ -2, true ]\r\n```\r\n\r\nWhen I am trying to install without the -g flag, I see that \"abbrev\" package is being installed under node_modules. Unfortunately, without the -g flag there are some other problems, it can't find the package.json at some point:\r\n\r\n\r\n```\r\n30082 warn enoent ENOENT: no such file or directory, open '/home/tileServer/package.json'\r\n30083 verbose enoent ENOENT: no such file or directory, open '/home/tileServer/package.json'\r\n30083 verbose enoent This is most likely not a problem with npm itself\r\n30083 verbose enoent and is related to npm not being able to find a file.\r\n30084 warn tileServer No description\r\n30085 verbose If you need help, you may report this error at:\r\n30085 verbose     <https://github.com/npm/npm/issues>\r\n30086 warn tileServer No repository field.\r\n30087 verbose If you need help, you may report this error at:\r\n30087 verbose     <https://github.com/npm/npm/issues>\r\n30088 warn tileServer No README data\r\n30089 verbose If you need help, you may report this error at:\r\n30089 verbose     <https://github.com/npm/npm/issues>\r\n30090 warn tileServer No license field.\r\n30091 verbose If you need help, you may report this error at:\r\n30091 verbose     <https://github.com/npm/npm/issues>\r\n30092 verbose stack Error: canvas@1.5.0 install: `node-gyp rebuild`\r\n30092 verbose stack Exit status 1\r\n30092 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)\r\n30092 verbose stack     at emitTwo (events.js:106:13)\r\n30092 verbose stack     at EventEmitter.emit (events.js:191:7)\r\n30092 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)\r\n30092 verbose stack     at emitTwo (events.js:106:13)\r\n30092 verbose stack     at ChildProcess.emit (events.js:191:7)\r\n30092 verbose stack     at maybeClose (internal/child_process.js:877:16)\r\n30092 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)\r\n30093 verbose pkgid canvas@1.5.0\r\n30094 verbose cwd /home/tileServer\r\n30095 error Linux 4.4.0-042stab120.6\r\n30096 error argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"tileserver-gl\" \"--unsafe-perm\"\r\n30097 error node v6.9.2\r\n30098 error npm  v3.10.9\r\n30099 error code ELIFECYCLE\r\n30100 error canvas@1.5.0 install: `node-gyp rebuild`\r\n30100 error Exit status 1\r\n30101 error Failed at the canvas@1.5.0 install script 'node-gyp rebuild'.\r\n30101 error Make sure you have the latest version of node.js and npm installed.\r\n30101 error If you do, this is most likely a problem with the canvas package,\r\n30101 error not with npm itself.\r\n30101 error Tell the author that this fails on your system:\r\n30101 error     node-gyp rebuild\r\n30101 error You can get information on how to open an issue for this project with:\r\n30101 error     npm bugs canvas\r\n30101 error Or if that isn't available, you can get their info via:\r\n30101 error     npm owner ls canvas\r\n30101 error There is likely additional logging output above.\r\n```\r\n\r\n\r\nAny ideas ?"}}
{"actor":{"display_login":"petrsloup"}}