I tried to create a little SDK using tsdx. I built the package and installed it on locally to test on React App. When i run the app it shows warning that:
warn - ../.../node_modules/node-fetch/lib/index.js
Module not found: Can't resolve 'encoding' in '/.../node_modules/node-fetch/lib'
../.../node_modules/ws/lib/buffer-util.js
Module not found: Can't resolve 'bufferutil' in '/.../node_modules/ws/lib'
../.../node_modules/ws/lib/validation.js
Module not found: Can't resolve 'utf-8-validate' in '/.../node_modules/ws/lib'
Expected behavior
No warning or module found.
Suggested solution(s)
N/A
Additional context
All the default configuration except isomorphic-unfetch added.
Current Behavior
I tried to create a little SDK using tsdx. I built the package and installed it on locally to test on React App. When i run the app it shows warning that:
Expected behavior
No warning or module found.
Suggested solution(s)
N/A
Additional context
All the default configuration except
isomorphic-unfetch
added.Your environment