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 just installed a package on a CSR version of reactJS. Basically the server is running on node.js, and I get this error when importing the module:
import eventbrite from 'eventbrite';
Results on this error, both on front and back-end side:
Error: Cannot find module 'encoding'
at webpackMissingModule (webpack-internal:///./node_modules/isomorphic-fetch/node_modules/node-fetch/lib/body.js:5:80)
at eval (webpack-internal:///./node_modules/isomorphic-fetch/node_modules/node-fetch/lib/body.js:5:163)
at Object../node_modules/isomorphic-fetch/node_modules/node-fetch/lib/body.js (/front/build/server.js:3410:1)
at __webpack_require__ (/front/build/server.js:27:30)
at eval (webpack-internal:///./node_modules/isomorphic-fetch/node_modules/node-fetch/index.js:5:338)
at Object../node_modules/isomorphic-fetch/node_modules/node-fetch/index.js (/front/build/server.js:3399:1)
at __webpack_require__ (/front/build/server.js:27:30)
at eval (webpack-internal:///./node_modules/isomorphic-fetch/fetch-npm-node.js:1:15)
at Object../node_modules/isomorphic-fetch/fetch-npm-node.js (/front/build/server.js:3388:1)
at __webpack_require__ (/front/build/server.js:27:30)
The strange thing is that I only IMPORT evenbrite, I am not even using it.
Node version: running on docker container node:10-alpine
Browser name and version: Any
Operating system: Docker
The text was updated successfully, but these errors were encountered:
Hi there,
I just installed a package on a CSR version of reactJS. Basically the server is running on node.js, and I get this error when
importing
the module:Results on this error, both on front and back-end side:
The strange thing is that I only IMPORT
evenbrite
, I am not even using it.The text was updated successfully, but these errors were encountered: