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
Browserify 16.5.0 does not seem to provide a .main property on the require object, so requiring app-root-path is failing because browser cannot read property .filename from require.main (which is undefined)
Browserify 16.5.0 does not seem to provide a
.main
property on therequire
object, so requiring app-root-path is failing because browser cannot read property.filename
fromrequire.main
(which isundefined
)node-app-root-path/browser-shim.js
Line 3 in 54d06fe
#22 seems to be related to the same problem, but was closed without any more information about why.
You can reproduce breaking browserify with:
and then trying to load bundle.js with a script tag in a browser.
The text was updated successfully, but these errors were encountered: