Skip to content

after upgrading npm ugrade i am getting below error, i cant use sqllite in Web browser, Please let me know how to fix #531

Closed Answered by jepiqueau
lajith111 asked this question in Q&A
Discussion options

You must be logged in to vote

@lajith111 jeep-sqlite does not use 'crypto' module in fact the latest release of sql.js did, so the build of jeep-sqlite esm/jeep-sqlite-entry.js referred to crypto. To avoid the error message in angular create a webpack.config.js file including

module.exports = {
  resolve: {
    fallback: {
      crypto: false
      // Add more fallbacks if needed
    }
  }
};

Replies: 7 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@lajith111
Comment options

Comment options

You must be logged in to vote
2 replies
@lajith111
Comment options

@lajith111
Comment options

Comment options

You must be logged in to vote
1 reply
@lajith111
Comment options

Comment options

You must be logged in to vote
2 replies
@lajith111
Comment options

@lajith111
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jepiqueau
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants