You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an error of process is not defined when using nsfwjs.load("/model/", { size: 299 }) on my ReactJS app.
Seems to be an error in the library... (version: 2.4.2)
It doesn't change the error message if I change the function parameters.
util.js:109 Uncaught ReferenceError: process is not defined
at node_modules/util/util.js (util.js:109:1)
at __require2 (chunk-TFWDKVI3.js?v=166c4fc5:18:50)
at node_modules/assert/build/internal/assert/assertion_error.js (assertion_error.js:35:16)
at __require2 (chunk-TFWDKVI3.js?v=166c4fc5:18:50)
at node_modules/assert/build/assert.js (assert.js:36:22)
at __require2 (chunk-TFWDKVI3.js?v=166c4fc5:18:50)
at node_modules/gif-encoder/lib/GIFEncoder.js (GIFEncoder.js:11:14)
at __require2 (chunk-TFWDKVI3.js?v=166c4fc5:18:50)
at node_modules/@nsfw-filter/save-pixels/save-pixels.js (save-pixels.js:3:18)
at __require2 (chunk-TFWDKVI3.js?v=166c4fc5:18:50)
node_modules/util/util.js @ util.js:109
__require2 @ chunk-TFWDKVI3.js?v=166c4fc5:18
node_modules/assert/build/internal/assert/assertion_error.js @ assertion_error.js:35
__require2 @ chunk-TFWDKVI3.js?v=166c4fc5:18
node_modules/assert/build/assert.js @ assert.js:36
__require2 @ chunk-TFWDKVI3.js?v=166c4fc5:18
node_modules/gif-encoder/lib/GIFEncoder.js @ GIFEncoder.js:11
__require2 @ chunk-TFWDKVI3.js?v=166c4fc5:18
node_modules/@nsfw-filter/save-pixels/save-pixels.js @ save-pixels.js:3
__require2 @ chunk-TFWDKVI3.js?v=166c4fc5:18
node_modules/@nsfw-filter/gif-frames/gif-frames.js @ gif-frames.js:3
__require2 @ chunk-TFWDKVI3.js?v=166c4fc5:18
node_modules/nsfwjs/dist/index.js @ index.js:64
__require2 @ chunk-TFWDKVI3.js?v=166c4fc5:18
(anonymous) @ index.js:301
The text was updated successfully, but these errors were encountered:
talisraeli
changed the title
Getting Uncaught ReferenceError when using nsfwjs.load()
Getting Uncaught ReferenceError when using nsfwjs.load()Jun 16, 2023
I'm getting an error of
process is not defined
when usingnsfwjs.load("/model/", { size: 299 })
on my ReactJS app.Seems to be an error in the library... (version: 2.4.2)
It doesn't change the error message if I change the function parameters.
The text was updated successfully, but these errors were encountered: