Open springmeyer opened 6 years ago
Is there some notes somewhere on how I can use this with electron? Kinda new to all this...
@mika76 as far as I know, the default electron has no difference with the default NodeJS environment.
Even for electron-builder, all the default settings should allow for a smooth experience.
So essentially, if you follow the NodeJS guide you shouldn't run into any issue. If I am mistaken, then let me know.
@kewde Do you mind posting an example S3 URL of a pre-built module that should be available to download?
My current project config tries to download from
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.2/electron-v2.0-darwin-x64.tar.gz but S3 only returns an Access Denied
error.
curl https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.2/electron-v2.0-darwin-x64.tar.gz
# <?xml version="1.0" encoding="UTF-8"?>
# <Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>3870605C202B8E5D</RequestId><HostId>XxALIJQJNImqynBHSnfNknTD5+ERFnXXnLzr+AEBqRK2TfWP2Aa1BdGQUi07PYfdenUM9r/0K4Q=</HostId></Error>
Should this configuration be available as a pre-built download?
Thanks in advance!
@nocodaio
Thanks for informing me.
(PS: I have used the linux binaries without a problem on OSX)
👍 Thanks for the quick turn-around @kewde! Much appreciated
@nocodaio There we go, green checks for the osx builds!
@kewde now that #976 has landed, could you PR some docs to the README.md that explain how to install and use node-sqlite3 with electron?