-
Notifications
You must be signed in to change notification settings - Fork 276
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
"Cannot find module ..." Issues after update to 3.2.0? #198
Comments
I'm seeing the same problem. Seems Browserify fails to locate the module "xregexp", and the error message reads I'm not sure if the current value of Line 18 in a661cd3
Is ./lib loadable?
|
The same for React-Native |
It appears that v2.0.0 is the last version that works with Browserify. |
Thank you for reporting. Happy to accept pull requests that address this. |
the problem is not that the pluggin is not imported? the right is ? |
not really needed 'import unicode-base' on my react app,
|
I was able to reproduce this as follows: cd $(mktemp -d)
yarn add xregexp browserify
yarn browserify node_modules/xregexp @knu:
Note that in v3.2.0, yarn # to build the files in ./lib
yarn browserify . I'm hoping to release a new version to address this: #205 |
node v6.10.2
npm 5.0.4
usage:
The installed npm package contains a xregexp-all.js on the root level which is mentioned in the package.json as "main".
However this file tries to require some modules like this:
These requires are broken because the actual files are stored in src/.
So for this particular file the following would be correct.
Something is fishy here. Did the packaging for the release went wrong? Am I using the module wrong?
The text was updated successfully, but these errors were encountered: