{"action":"created","issue":{"url":"https://api.github.com/repos/UNECE/Classification-Explorer/issues/19","repository_url":"https://api.github.com/repos/UNECE/Classification-Explorer","labels_url":"https://api.github.com/repos/UNECE/Classification-Explorer/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/UNECE/Classification-Explorer/issues/19/comments","events_url":"https://api.github.com/repos/UNECE/Classification-Explorer/issues/19/events","html_url":"https://github.com/UNECE/Classification-Explorer/issues/19","id":175196562,"number":19,"title":"Installation problem due to sparql-connect","user":{"login":"romaintailhurat","id":1663283,"avatar_url":"https://avatars.githubusercontent.com/u/1663283?v=3","gravatar_id":"","url":"https://api.github.com/users/romaintailhurat","html_url":"https://github.com/romaintailhurat","followers_url":"https://api.github.com/users/romaintailhurat/followers","following_url":"https://api.github.com/users/romaintailhurat/following{/other_user}","gists_url":"https://api.github.com/users/romaintailhurat/gists{/gist_id}","starred_url":"https://api.github.com/users/romaintailhurat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romaintailhurat/subscriptions","organizations_url":"https://api.github.com/users/romaintailhurat/orgs","repos_url":"https://api.github.com/users/romaintailhurat/repos","events_url":"https://api.github.com/users/romaintailhurat/events{/privacy}","received_events_url":"https://api.github.com/users/romaintailhurat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UNECE/Classification-Explorer/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":{"login":"BoogalooJB","id":1005050,"avatar_url":"https://avatars.githubusercontent.com/u/1005050?v=3","gravatar_id":"","url":"https://api.github.com/users/BoogalooJB","html_url":"https://github.com/BoogalooJB","followers_url":"https://api.github.com/users/BoogalooJB/followers","following_url":"https://api.github.com/users/BoogalooJB/following{/other_user}","gists_url":"https://api.github.com/users/BoogalooJB/gists{/gist_id}","starred_url":"https://api.github.com/users/BoogalooJB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoogalooJB/subscriptions","organizations_url":"https://api.github.com/users/BoogalooJB/orgs","repos_url":"https://api.github.com/users/BoogalooJB/repos","events_url":"https://api.github.com/users/BoogalooJB/events{/privacy}","received_events_url":"https://api.github.com/users/BoogalooJB/received_events","type":"User","site_admin":false},"assignees":[{"login":"BoogalooJB","id":1005050,"avatar_url":"https://avatars.githubusercontent.com/u/1005050?v=3","gravatar_id":"","url":"https://api.github.com/users/BoogalooJB","html_url":"https://github.com/BoogalooJB","followers_url":"https://api.github.com/users/BoogalooJB/followers","following_url":"https://api.github.com/users/BoogalooJB/following{/other_user}","gists_url":"https://api.github.com/users/BoogalooJB/gists{/gist_id}","starred_url":"https://api.github.com/users/BoogalooJB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoogalooJB/subscriptions","organizations_url":"https://api.github.com/users/BoogalooJB/orgs","repos_url":"https://api.github.com/users/BoogalooJB/repos","events_url":"https://api.github.com/users/BoogalooJB/events{/privacy}","received_events_url":"https://api.github.com/users/BoogalooJB/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-09-06T09:06:38Z","updated_at":"2016-09-06T11:15:09Z","closed_at":"2016-09-06T09:25:20Z","body":"Or so it seems : on my windows 7 machine, when trying to npm install the 52b9eca7523727db80e10d1a2c1a0f9ae9bbc6ef revision, i get this npm error message :\r\n\r\n```bash\r\nnpm ERR! node v5.10.1\r\nnpm ERR! npm  v3.8.3\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! sparql-connect@0.0.1 preinstall: `babel src --out-dir lib`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the sparql-connect@0.0.1 preinstall script 'babel src --out-dir lib'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\n```\r\n\r\nI then try the same operation after installing babel globally : this time, babel was rightfully called, but the next problem was that a specific babel-plugin was not found :\r\n\r\n```bash\r\n> sparql-connect@0.0.1 preinstall D:\\arkn1q\\Mes Documents\\dev-javascript-projects\\Classification-Explorer\\node_modules\\.staging\\sparql-connect-d88ca839\r\n> babel src --out-dir lib\r\n\r\nReferenceError: Unknown plugin \"transform-object-rest-spread\" specified in \"D:\\\\arkn1q\\\\Mes Documents\\\\dev-javascript-projects\\\\Classification-Explorer\\\\node_modules\\\\.staging\\\\spa\r\nrql-connect-d88ca839\\\\.babelrc\" at 0, attempted to resolve relative to \"D:\\\\arkn1q\\\\Mes Documents\\\\dev-javascript-projects\\\\Classification-Explorer\\\\node_modules\\\\.staging\\\\sparql-\r\nconnect-d88ca839\"\r\n    at D:\\arkn1q\\Données d'applications\\npm\\node_modules\\babel-cli\\node_modules\\babel-core\\lib\\transformation\\file\\options\\option-manager.js:172:17\r\n    at Array.map (native)\r\n    at Function.normalisePlugins (D:\\arkn1q\\Données d'applications\\npm\\node_modules\\babel-cli\\node_modules\\babel-core\\lib\\transformation\\file\\options\\option-manager.js:150:20)\r\n    at OptionManager.mergeOptions (D:\\arkn1q\\Données d'applications\\npm\\node_modules\\babel-cli\\node_modules\\babel-core\\lib\\transformation\\file\\options\\option-manager.js:224:36)\r\n    at OptionManager.init (D:\\arkn1q\\Données d'applications\\npm\\node_modules\\babel-cli\\node_modules\\babel-core\\lib\\transformation\\file\\options\\option-manager.js:338:12)\r\n    at File.initOptions (D:\\arkn1q\\Données d'applications\\npm\\node_modules\\babel-cli\\node_modules\\babel-core\\lib\\transformation\\file\\index.js:216:65)\r\n    at new File (D:\\arkn1q\\Données d'applications\\npm\\node_modules\\babel-cli\\node_modules\\babel-core\\lib\\transformation\\file\\index.js:137:24)\r\n    at Pipeline.transform (D:\\arkn1q\\Données d'applications\\npm\\node_modules\\babel-cli\\node_modules\\babel-core\\lib\\transformation\\pipeline.js:46:16)\r\n    at transform (D:\\arkn1q\\Données d'applications\\npm\\node_modules\\babel-cli\\lib\\babel\\util.js:50:22)\r\n    at Object.compile (D:\\arkn1q\\Données d'applications\\npm\\node_modules\\babel-cli\\lib\\babel\\util.js:59:12)\r\nClassificationExplorer@0.0.1 D:\\arkn1q\\Mes Documents\\dev-javascript-projects\\Classification-Explorer\r\n```\r\n\r\nOne way to resolve the problem will be to make babel to be use locally by the preinstall script and also use the plugin locally, but i think the main problem is in fact the preinstall step : **coudn't it be possible to just grab the lib already compiled ?**"},"comment":{"url":"https://api.github.com/repos/UNECE/Classification-Explorer/issues/comments/244920354","html_url":"https://github.com/UNECE/Classification-Explorer/issues/19#issuecomment-244920354","issue_url":"https://api.github.com/repos/UNECE/Classification-Explorer/issues/19","id":244920354,"user":{"login":"romaintailhurat","id":1663283,"avatar_url":"https://avatars.githubusercontent.com/u/1663283?v=3","gravatar_id":"","url":"https://api.github.com/users/romaintailhurat","html_url":"https://github.com/romaintailhurat","followers_url":"https://api.github.com/users/romaintailhurat/followers","following_url":"https://api.github.com/users/romaintailhurat/following{/other_user}","gists_url":"https://api.github.com/users/romaintailhurat/gists{/gist_id}","starred_url":"https://api.github.com/users/romaintailhurat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romaintailhurat/subscriptions","organizations_url":"https://api.github.com/users/romaintailhurat/orgs","repos_url":"https://api.github.com/users/romaintailhurat/repos","events_url":"https://api.github.com/users/romaintailhurat/events{/privacy}","received_events_url":"https://api.github.com/users/romaintailhurat/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T11:15:09Z","updated_at":"2016-09-06T11:15:09Z","body":"Yes, it is working now, well done JB."}}
{"actor":{"display_login":"romaintailhurat"}}