{"action":"closed","issue":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1223","labels_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1223/labels{/name}","comments_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1223/comments","events_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1223/events","html_url":"https://github.com/SynoCommunity/spksrc/issues/1223","id":41992861,"number":1223,"title":"Node.js package: npm does not work - (Synology DS212, DSM 5.0)","user":{"login":"erikusaj","id":673091,"avatar_url":"https://avatars.githubusercontent.com/u/673091?v=3","gravatar_id":"","url":"https://api.github.com/users/erikusaj","html_url":"https://github.com/erikusaj","followers_url":"https://api.github.com/users/erikusaj/followers","following_url":"https://api.github.com/users/erikusaj/following{/other_user}","gists_url":"https://api.github.com/users/erikusaj/gists{/gist_id}","starred_url":"https://api.github.com/users/erikusaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikusaj/subscriptions","organizations_url":"https://api.github.com/users/erikusaj/orgs","repos_url":"https://api.github.com/users/erikusaj/repos","events_url":"https://api.github.com/users/erikusaj/events{/privacy}","received_events_url":"https://api.github.com/users/erikusaj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-09-04T22:21:17Z","updated_at":"2015-03-16T20:19:10Z","closed_at":"2015-03-16T20:19:10Z","body":"**Conditions:**\r\n* Synology DS212\t\r\n* Marvell Kirkwood mv6282 1.6Ghz ARM (Marvell ARMADA 300)\t\r\n* 16-bit@DDR3, 256MB of RAM\r\n* DSM 5.0-4493 Update 4\r\n* *syno bootstrap* and *ipkg* installed, based on instructions on: http://www.gridshore.nl/2011/04/04/installing-node-js-on-my-new-synology/\r\n* OpenSSL 1.0.1i-fips 6 Aug 2014\r\n* node.js package from community channel\r\n\r\n**Repo steps:**\r\n1. installed *node.js* package form community channel http://packages.synocommunity.com\r\n2. configured PATH\r\n*note: would be easier if there were some instructions in the package itself about its install location*\r\n3. tested if node works by running it \r\n4. created a new dolder and *package.json* file - with express package\r\n5. tried running *npm install*\r\n\r\n**Observed:**\r\n```\r\nnpm ERR! Error: 1073880192:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01:../deps/openssl/openssl/crypto/rsa/rsa_pk1.c:100:\r\nnpm ERR! 1073880192:error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed:../deps/openssl/openssl/crypto/rsa/rsa_eay.c:721:\r\nnpm ERR! 1073880192:error:1408D07B:SSL routines:SSL3_GET_KEY_EXCHANGE:bad signature:../deps/openssl/openssl/ssl/s3_clnt.c:1831:\r\nnpm ERR! \r\nnpm ERR!     at SlabBuffer.use (tls.js:234:18)\r\nnpm ERR!     at CleartextStream.read [as _read] (tls.js:454:29)\r\nnpm ERR!     at CleartextStream.Readable.read (_stream_readable.js:340:10)\r\nnpm ERR!     at EncryptedStream.write [as _write] (tls.js:368:25)\r\nnpm ERR!     at doWrite (_stream_writable.js:225:10)\r\nnpm ERR!     at writeOrBuffer (_stream_writable.js:215:5)\r\nnpm ERR!     at EncryptedStream.Writable.write (_stream_writable.js:182:11)\r\nnpm ERR!     at write (_stream_readable.js:601:24)\r\nnpm ERR!     at flow (_stream_readable.js:610:7)\r\nnpm ERR!     at Socket.pipeOnReadable (_stream_readable.js:642:5)\r\nnpm ERR! If you need help, you may report this *entire* log,\r\nnpm ERR! including the npm and node versions, at:\r\nnpm ERR!     <http://github.com/npm/npm/issues>\r\n\r\nnpm ERR! System Linux 2.6.32.12\r\nnpm ERR! command \"/usr/local/node/bin/node\" \"/usr/local/node/bin/npm\" \"install\"\r\nnpm ERR! cwd /root/node\r\nnpm ERR! node -v v0.10.31\r\nnpm ERR! npm -v 1.4.23\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /root/node/npm-debug.log\r\nnpm ERR! not ok code 0\r\n```\r\n\r\n*Note: by searching online I found this open issue https://github.com/npm/npm/issues/5983*\r\n\r\n\r\n**Workaround:**\r\n```\r\nnpm config set strict-ssl false\r\nnpm config set registry http://registry.npmjs.org/\r\n```\r\n"}}