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

Illegal Invocation on initializing new sqlite db with node-websql #18

Closed
selvanpogeyan opened this issue Dec 28, 2016 · 2 comments
Closed

Comments

@selvanpogeyan
Copy link

selvanpogeyan commented Dec 28, 2016

placing tried out sample code below

import React, { Component } from 'react';


class App extends Component {
    render() {
        var PouchDB = require('pouchdb');
        PouchDB.plugin(require('pouchdb-adapter-node-websql'));

        **var db = new PouchDB('mydatabase.db', { adapter: 'websql' });**

please give me suggestion to sort out this issue..

@nolanlawson
Copy link
Owner

Sorry, can you pleas post the error you're running into? I'm not understanding what the problem is...

@nolanlawson
Copy link
Owner

Closing old issues, please reopen if necessary

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

No branches or pull requests

2 participants