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
app-root-path throws an error when I try to use it with Browserify:
Uncaught TypeError: Cannot read property 'filename' of undefined
at Object.require.48.path (browser-shim.js:3)
at s (_prelude.js:1)
at _prelude.js:1
at Object.require.13.Vendor (product.js:9)
at s (_prelude.js:1)
at _prelude.js:1
at Object.require.379.Vendor (product.js:16)
at s (_prelude.js:1)
at e (_prelude.js:1)
at _prelude.js:1
Might this be related to customizing the Browserify paths option?
The text was updated successfully, but these errors were encountered:
hey why did this issue get closed? is there some way to work around it? i'm experiencing it and pretty confused while trying to use app-root-path, which has a browser shim that tries to use require.main.filename
app-root-path
throws an error when I try to use it with Browserify:Might this be related to customizing the Browserify
path
s option?The text was updated successfully, but these errors were encountered: