Error: Cannot find module 'fs' after using it bundled with an npm package #5029
Replies: 2 comments 1 reply
-
Hi! That's weird, it seems the bundle uses the Node.js implementation of the HTTP long-polling transport (based on the The selection should be made with the |
Beta Was this translation helpful? Give feedback.
-
It is fixed, I have a turborepo, there is internal package there is internal package Problem Solution |
Beta Was this translation helpful? Give feedback.
-
I don't know what I'm missing or doing wrong, this is turborepo and the published package is internal package of workspace which is also using another unpublished package using socket.io.
I have published an npm package which was bundle with tsup. but when I am trying to install it another react app, I am getting below error. Issue of my project is here - growupanand/ConvoForm#244.
Branch - https://github.com/growupanand/ConvoForm/tree/231-publish-react-hook-as-npm-package
NPM package link - https://www.npmjs.com/package/@convoform/react
Screenshots
Beta Was this translation helpful? Give feedback.
All reactions