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

Errors while executing browserify-fs #8

Open
srinivasthanneeru opened this issue Aug 22, 2016 · 6 comments
Open

Errors while executing browserify-fs #8

srinivasthanneeru opened this issue Aug 22, 2016 · 6 comments

Comments

@srinivasthanneeru
Copy link

I'm seeing below error while accessing - https://tonicdev.com/npm/browserify-fs on FF/Chrome on windows 7

ReferenceError: self is not defined
message: "self is not defined"
stack (getter): function()
stack (setter): function()
ReferenceError Prototype

...

While executing it on command line:
D:>node test-bfs.js
D:\node_modules\browserify-fs\node_modules\level-js\node_modules\idb-wrapper\idb
store.js:129
var env = typeof window == 'object' ? window : self;
^

ReferenceError: self is not defined
at new IDBStore (D:\node_modules\browserify-fs\node_modules\level-js\node_mo
dules\idb-wrapper\idbstore.js:129:56)
at Level._open (D:\node_modules\browserify-fs\node_modules\level-js\index.js
:37:14)
at Level.AbstractLevelDOWN.open (D:\node_modules\browserify-fs\node_modules
level-js\node_modules\abstract-leveldown\abstract-leveldown.js:28:17)
at LevelUP.open (D:\node_modules\browserify-fs\node_modules\levelup\lib\leve
lup.js:112:6)
at new LevelUP (D:\node_modules\browserify-fs\node_modules\levelup\lib\level
up.js:82:8)
at LevelUP (D:\node_modules\browserify-fs\node_modules\levelup\lib\levelup.j
s:44:12)
at Object. (D:\node_modules\browserify-fs\index.js:5:10)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)

@gaurav517
Copy link

Did you find the resolution? I am getting the same error. Thanks.

@noveens
Copy link

noveens commented Jun 4, 2017

same error 😞

@GoMino
Copy link

GoMino commented Sep 29, 2019

Same problem here, is this library working ?

@rat182
Copy link

rat182 commented Jul 24, 2022

Still getting this error

@HeidiHe
Copy link

HeidiHe commented Jun 6, 2023

same error +1

@jaxrein
Copy link

jaxrein commented Oct 3, 2023

Have any of you solved this problem yet? I am seeing the same issue.

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

7 participants