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

'Self' is not defined #96

Open
jaxrein opened this issue Oct 3, 2023 · 0 comments
Open

'Self' is not defined #96

jaxrein opened this issue Oct 3, 2023 · 0 comments

Comments

@jaxrein
Copy link

jaxrein commented Oct 3, 2023

Description

I am seeing the following error trying to use a package which depends on idb-wrapper (browserify-fs):

[Running] node "c:\Users\Jackson\Coding\Wordle\node_modules\browserify-fs\example.js"
c:\Users\Jackson\Coding\Wordle\node_modules\idb-wrapper\idbstore.js:129
        var env = typeof window == 'object' ? window : self;
                                                       ^

ReferenceError: self is not defined

Screenshot

image

To Reproduce

I'm using create-react-app v5.0.1, Node v18.18.0, webpack v5.88.2 and browserify-fs v1.0.0

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

1 participant