{"action":"created","issue":{"url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/15","labels_url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/15/comments","events_url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/15/events","html_url":"https://github.com/cdnjs/cdnjs-importer/issues/15","id":100221577,"number":15,"title":"[new-version 2.0.0 test] Some problems occurred during the test.","user":{"login":"Piicksarn","id":8291251,"avatar_url":"https://avatars.githubusercontent.com/u/8291251?v=3","gravatar_id":"","url":"https://api.github.com/users/Piicksarn","html_url":"https://github.com/Piicksarn","followers_url":"https://api.github.com/users/Piicksarn/followers","following_url":"https://api.github.com/users/Piicksarn/following{/other_user}","gists_url":"https://api.github.com/users/Piicksarn/gists{/gist_id}","starred_url":"https://api.github.com/users/Piicksarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Piicksarn/subscriptions","organizations_url":"https://api.github.com/users/Piicksarn/orgs","repos_url":"https://api.github.com/users/Piicksarn/repos","events_url":"https://api.github.com/users/Piicksarn/events{/privacy}","received_events_url":"https://api.github.com/users/Piicksarn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-11T04:10:54Z","updated_at":"2015-08-11T05:11:51Z","closed_at":null,"body":"@IonicaBizau~ :sparkles:\r\n\r\nI had tried some libraries and got some problems when i test the new-version v2.0.0\r\n\r\n - Using **`-g`** when my path to cdnjs not the same with default\r\n\r\n ```shell\r\n    $ cdnjs-importer -g git@github.com:IonicaBizau/gh.js.git\r\n\r\n    /path/to/cdnjs-importer/bin/cdnjs-importer:44\r\n    Logger.log(\"Couldn't find the CDNJS repository in this path: \" + CDNJS_ROOT\r\n                                                                    ^\r\n    ReferenceError: CDNJS_ROOT is not defined\r\n ```\r\n - Using **`-p`** to provide the path of cdnjs loction-->did not work and got the response below\r\n ```shell\r\n$ cdnjs-importer -p /path/to/cdnjs \r\nUsage: cdnjs-importer [options]\r\n\r\nOptions:\r\n  -g, --git-url <git-url>  Your library git url.                   \r\n  -p, --path <path>        The path to your cdnjs local repository.\r\n  -h, --help               Displays this help.                     \r\n  -v, --version            Displays version information.           \r\n\r\nExamples:\r\n  cdnjs-importer -g git@github.com:IonicaBizau/gh.js.git # adds gh.js to cdnjs\r\n  cdnjs-importer -g ... -p path/to/cdnjs\r\n\r\nThe default cdnjs repository location is in ~/cdnjs\r\n\r\nDocumentation can be found at https://github.com/IonicaBizau/cdnjs-importer\r\n \r\n ```\r\n\r\n - **cdnjs-importer -g git://github.com/SocketCluster/socketcluster-client.git -p /path/to/cdnjs** did not pass the test\r\n\r\n  - the error msg from **npm test**\r\n\r\n ```shell\r\n    socketcluster-client \r\n      ✗ socketcluster-client: filename from package.json exists \r\n        » ./ajax/libs/socketcluster-client/2.3.9//tmp/tmp-4032mdSxKTrI9jPj/README.md does not exist but is referenced in package.json! // valid-packages-test.js:101 \r\n  ✗ Broken » 14781 honored ∙ 1 broken (2.360s) \r\n  npm ERR! Test failed.  See above for more details.\r\nnpm ERR! not ok code 0\r\n\r\n ```\r\n\r\n  - the package.json\r\n ```shell\r\n{\r\n  \"name\": \"socketcluster-client\",\r\n  \"description\": \"SocketCluster JavaScript client\",\r\n  \"version\": \"2.3.9\",\r\n  \"homepage\": \"http://socketcluster.io\",\r\n  \"contributors\": [\r\n    {\r\n      \"name\": \"Jonathan Gros-Dubois\",\r\n      \"email\": \"grosjona@yahoo.com.au\"\r\n    }\r\n  ],\r\n  \"repository\": {\r\n    \"type\": \"git\",\r\n    \"url\": \"git://github.com/SocketCluster/socketcluster-client.git\"\r\n  },\r\n  \"dependencies\": {\r\n    \"linked-list\": \"0.1.0\",\r\n    \"sc-channel\": \"1.0.x\",\r\n    \"sc-emitter\": \"1.0.x\",\r\n    \"sc-formatter\": \"1.0.x\",\r\n    \"ws\": \"0.7.2\"\r\n  },\r\n  \"readmeFilename\": \"README.md\",\r\n  \"npmName\": \"socketcluster-client\",\r\n  \"npmFileMap\": [\r\n    {\r\n      \"basePath\": \"/\",\r\n      \"files\": [\r\n        \"**/*\"\r\n      ]\r\n    }\r\n  ],\r\n  \"filename\": \"/tmp/tmp-4032mdSxKTrI9jPj/README.md\"\r\n}\r\n\r\n ```\r\nI will keep testing!\r\nFighting!:dancer::dancer::dancer:"},"comment":{"url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/comments/129708116","html_url":"https://github.com/cdnjs/cdnjs-importer/issues/15#issuecomment-129708116","issue_url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/15","id":129708116,"user":{"login":"PeterDaveHello","id":3691490,"avatar_url":"https://avatars.githubusercontent.com/u/3691490?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDaveHello","html_url":"https://github.com/PeterDaveHello","followers_url":"https://api.github.com/users/PeterDaveHello/followers","following_url":"https://api.github.com/users/PeterDaveHello/following{/other_user}","gists_url":"https://api.github.com/users/PeterDaveHello/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDaveHello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDaveHello/subscriptions","organizations_url":"https://api.github.com/users/PeterDaveHello/orgs","repos_url":"https://api.github.com/users/PeterDaveHello/repos","events_url":"https://api.github.com/users/PeterDaveHello/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDaveHello/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T05:11:51Z","updated_at":"2015-08-11T05:11:51Z","body":":facepunch: "}}