Skip to content

We could not create the data directory  #13

@etornam45

Description

@etornam45

image
This is the error I had by running this code

const { Application } = require('@webviewjs/webview');

class WebView {
    constructor(options = {}) {
        this.app = new Application();
        this.window = this.app.createBrowserWindow();
        this.webview = null;
    }

    loadHTML(html) {
        this.webview = this.window.createWebview({
            html: html
        });
    }

    show() {
        this.app.run();
    }
}

module.exports = WebView;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions