Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs on using node-sqlite3 with electron #1006

Open
springmeyer opened this issue Jun 23, 2018 · 6 comments
Open

Docs on using node-sqlite3 with electron #1006

springmeyer opened this issue Jun 23, 2018 · 6 comments
Labels

Comments

@springmeyer
Copy link
Contributor

@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?

@mika76
Copy link

mika76 commented Aug 29, 2018

Is there some notes somewhere on how I can use this with electron? Kinda new to all this...

@kewde
Copy link
Collaborator

kewde commented Sep 3, 2018

@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.

@ghost
Copy link

ghost commented Sep 18, 2018

@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!

@kewde
Copy link
Collaborator

kewde commented Sep 18, 2018

@nocodaio

Thanks for informing me.
#1041

(PS: I have used the linux binaries without a problem on OSX)

@ghost
Copy link

ghost commented Sep 18, 2018

👍 Thanks for the quick turn-around @kewde! Much appreciated

@kewde
Copy link
Collaborator

kewde commented Sep 18, 2018

@nocodaio
There we go, green checks for the osx builds!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants