Closed kusmayadi closed 10 years ago
Hi, I'm able to install node and codem-transcode just fine on a clean Mavericks install:
# brew install node
[...]
# npm install codem-transcode
[...]
> sqlite3@2.1.19 install /Users/tieleman/node_modules/codem-transcode/node_modules/sqlite3
> node build.js
[sqlite3]: Checking for http://node-sqlite3.s3.amazonaws.com/Release/node_sqlite3-v2.1.a-node-v11-darwin-x64.tar.gz
[sqlite3]: Downloaded to: /var/folders/v_/tk2k380d055cf8lzrt4lqr740000gn/T/node-sqlite3-Release/node_sqlite3-v2.1.a-node-v11-darwin-x64.tar.gz
[sqlite3]: Checking for http://node-sqlite3.s3.amazonaws.com/Release/node_sqlite3-v2.1.a-node-v11-darwin-x64.sha1.txt
[sqlite3]: Sha1sum matches! b0026584c7663896a22afd8ec26d2c868f09f4c1
[sqlite3]: Extracting to lib/binding/Release
[sqlite3]: Sweet: "node_sqlite3.node" is valid, node-sqlite3 is now installed!
[...]
The Error: ENOENT, open '/Users/koes/tmp/node-sqlite3-Release/node_sqlite3-v2.1.a-node-v11-darwin-x64.tar.gz'
error seems to imply that the install script can't open the downloaded sqlite3 file. Have you checked it is there and downloaded correctly? It might be that it's a failed download from AWS or something.
Mind you, I have not tried installing it globally (as it is not recommended by npm
). Does it work if you do not use the -g
flag? Make sure to remove any tmp files before reinstalling.
Hi @kusmayadi, any luck with this? Otherwise I'm going to close the issue. I don't seem to have any issues with getting sqlite3
installed on Mavericks.
I had to wget (curl -O) it manually on Lion. I won't assume it as fixed, though it seems a minor problem.
I tried to install codem-transcode using npm on OS X Mavericks:
sudo npm install -g codem-transcode
but I got this following errors:I understand that this is sqlite3 issue, but is there any way to bypass this? I successfully installed sqlite3 using:
sudo npm install -g sqlite3 --build-from-source