{"action":"closed","issue":{"url":"https://api.github.com/repos/PeculiarVentures/webcrypto-core/issues/2","repository_url":"https://api.github.com/repos/PeculiarVentures/webcrypto-core","labels_url":"https://api.github.com/repos/PeculiarVentures/webcrypto-core/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/PeculiarVentures/webcrypto-core/issues/2/comments","events_url":"https://api.github.com/repos/PeculiarVentures/webcrypto-core/issues/2/events","html_url":"https://github.com/PeculiarVentures/webcrypto-core/issues/2","id":197073942,"number":2,"title":"Can't compile it","user":{"login":"PunKeel","id":1859135,"avatar_url":"https://avatars.githubusercontent.com/u/1859135?v=3","gravatar_id":"","url":"https://api.github.com/users/PunKeel","html_url":"https://github.com/PunKeel","followers_url":"https://api.github.com/users/PunKeel/followers","following_url":"https://api.github.com/users/PunKeel/following{/other_user}","gists_url":"https://api.github.com/users/PunKeel/gists{/gist_id}","starred_url":"https://api.github.com/users/PunKeel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PunKeel/subscriptions","organizations_url":"https://api.github.com/users/PunKeel/orgs","repos_url":"https://api.github.com/users/PunKeel/repos","events_url":"https://api.github.com/users/PunKeel/events{/privacy}","received_events_url":"https://api.github.com/users/PunKeel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-22T01:29:51Z","updated_at":"2016-12-22T17:43:02Z","closed_at":"2016-12-22T17:43:02Z","body":">Compile the source code using the following command:\r\n>\r\n>npm run build\r\n>NOTE: Command creates webcrypto-core.js and webcrypto-core.min.js files in build folder\r\n\r\nWhat if this doesn't happen?\r\n\r\n```\r\nroot@8f4d4b4f2670:/webcrypto-core# ls\r\nREADME.md  build  index.d.ts  index.js\tnode_modules  npm-debug.log  package.json  rollup.config.js  src  test\ttsconfig.json  tslint.json\r\nroot@8f4d4b4f2670:/webcrypto-core# rm -rf build\r\nroot@8f4d4b4f2670:/webcrypto-core# npm run build\r\nnpm info it worked if it ends with ok\r\nnpm info using npm@3.8.9\r\nnpm info using node@v6.2.0\r\nnpm info lifecycle webcrypto-core@0.1.3~prebuild: webcrypto-core@0.1.3\r\nnpm info lifecycle webcrypto-core@0.1.3~build: webcrypto-core@0.1.3\r\n\r\n> webcrypto-core@0.1.3 build /webcrypto-core\r\n> tsc && rollup -c\r\n\r\nnpm info lifecycle webcrypto-core@0.1.3~postbuild: webcrypto-core@0.1.3\r\nnpm info ok\r\nroot@8f4d4b4f2670:/webcrypto-core# ls -lah build/\r\ntotal 44K\r\ndrwxr-xr-x 7 root root  148 Dec 22 01:29 .\r\ndrwxr-xr-x 7 root root 4.0K Dec 22 01:29 ..\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 aes\r\n-rw-r--r-- 1 root root  363 Dec 22 01:29 alg.js\r\n-rw-r--r-- 1 root root 6.4K Dec 22 01:29 base.js\r\n-rw-r--r-- 1 root root 1.4K Dec 22 01:29 base64url.js\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 ec\r\n-rw-r--r-- 1 root root 3.3K Dec 22 01:29 error.js\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 hmac\r\n-rw-r--r-- 1 root root  402 Dec 22 01:29 index.js\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 rsa\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 sha\r\n-rw-r--r-- 1 root root  15K Dec 22 01:29 subtle.js\r\nroot@8f4d4b4f2670:/webcrypto-core# ls -lah build/*\r\n-rw-r--r-- 1 root root  363 Dec 22 01:29 build/alg.js\r\n-rw-r--r-- 1 root root 6.4K Dec 22 01:29 build/base.js\r\n-rw-r--r-- 1 root root 1.4K Dec 22 01:29 build/base64url.js\r\n-rw-r--r-- 1 root root 3.3K Dec 22 01:29 build/error.js\r\n-rw-r--r-- 1 root root  402 Dec 22 01:29 build/index.js\r\n-rw-r--r-- 1 root root  15K Dec 22 01:29 build/subtle.js\r\n\r\nbuild/aes:\r\ntotal 8.0K\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 .\r\ndrwxr-xr-x 7 root root  148 Dec 22 01:29 ..\r\n-rw-r--r-- 1 root root 7.9K Dec 22 01:29 crypto.js\r\n\r\nbuild/ec:\r\ntotal 8.0K\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 .\r\ndrwxr-xr-x 7 root root  148 Dec 22 01:29 ..\r\n-rw-r--r-- 1 root root 6.9K Dec 22 01:29 crypto.js\r\n\r\nbuild/hmac:\r\ntotal 4.0K\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 .\r\ndrwxr-xr-x 7 root root  148 Dec 22 01:29 ..\r\n-rw-r--r-- 1 root root 3.5K Dec 22 01:29 crypto.js\r\n\r\nbuild/rsa:\r\ntotal 12K\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 .\r\ndrwxr-xr-x 7 root root  148 Dec 22 01:29 ..\r\n-rw-r--r-- 1 root root 9.4K Dec 22 01:29 crypto.js\r\n\r\nbuild/sha:\r\ntotal 4.0K\r\ndrwxr-xr-x 2 root root   22 Dec 22 01:29 .\r\ndrwxr-xr-x 7 root root  148 Dec 22 01:29 ..\r\n-rw-r--r-- 1 root root 1.6K Dec 22 01:29 crypto.js\r\n```\r\n\r\n`npm run minify` fails, too: \r\n```\r\nnpm info it worked if it ends with ok\r\nnpm info using npm@3.8.9\r\nnpm info using node@v6.2.0\r\nnpm ERR! Linux 4.2.5-xxxx-grs-ipv6-64\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"run\" \"minify\"\r\nnpm ERR! node v6.2.0\r\nnpm ERR! npm  v3.8.9\r\n\r\nnpm ERR! missing script: minify\r\nnpm ERR!\r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <https://github.com/npm/npm/issues>\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /webcrypto-core/npm-debug.log\r\n```"}}
{"actor":{"display_login":"microshine"}}