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 have a project that pulls in react-geosuggest via npm. The project is bundled with Browserify + Babelify.
When I bundle this on node 0.10.x, I run into the following error:
23:05:12 Error: Cannot find module 'classnames' from '/src/node_modules/react-geosuggest/module'
23:05:12 at /src/node_modules/browserify/node_modules/resolve/lib/async.js:46:17
23:05:12 at process (/src/node_modules/browserify/node_modules/resolve/lib/async.js:173:43)
23:05:12 at ondir (/src/node_modules/browserify/node_modules/resolve/lib/async.js:188:17)
23:05:12 at load (/src/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
23:05:12 at onex (/src/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
23:05:12 at /src/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
23:05:12 at Object.oncomplete (fs.js:107:15)
Bundling works on node v5.1.0, however.
As a workaround on node 0.10.x, I included classnames in our own package.json dependencies and bundling worked.
Happy to provide more details if it would help!
The text was updated successfully, but these errors were encountered:
holic
changed the title
Errors when bundling react-geosuggest with Browserify
Errors when bundling react-geosuggest with Browserify on node 0.10.x
Feb 10, 2016
I have a project that pulls in react-geosuggest via npm. The project is bundled with Browserify + Babelify.
When I bundle this on node 0.10.x, I run into the following error:
Bundling works on node v5.1.0, however.
As a workaround on node 0.10.x, I included classnames in our own package.json dependencies and bundling worked.
Happy to provide more details if it would help!
The text was updated successfully, but these errors were encountered: