Better-sqlite3: Context-aware native modules

Created on 11 Dec 2019  路  5Comments  路  Source: JoshuaWise/better-sqlite3

The following error message started showing up in my Electron console once I added better-sqlite3:
Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information

I'll be honest...I really have no idea what this means to any great extent, but the link provides some information and it seems like something that may eventually be a big problem.

Is this something you're aware of? Is there a fix in the works? From what I could understand in the link, it didn't seem like a hard thing to resolve, but that's based on a very limited understanding of the whole situation.

Any info would be great.

Thanks,

Dave

question

Most helpful comment

This is fixed in v7.0.0.

All 5 comments

There is a pull request to add the functionality that you require.

Same problem in electron 8

(node:95231) Electron: Loading non-context-aware native module in renderer: 
'desktop-app/node_modules/better-sqlite3/build/better_sqlite3.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.

Did you find any thing it's not going to do any thing but it's annoying

Closing in favor of #237

This is fixed in v7.0.0.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eslachance picture eslachance  路  3Comments

Babalon921 picture Babalon921  路  3Comments

jonataswalker picture jonataswalker  路  5Comments

anlaplante picture anlaplante  路  4Comments

instagendleg picture instagendleg  路  4Comments