jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.2k stars 505 forks source link

Cannot find module 'axios' #1102

Open Abhijeet-AR opened 2 years ago

Abhijeet-AR commented 2 years ago

Current Behavior

Throws Cannot find module 'axios' error even though it's installed

Expected behavior

Should run without any error

Additional context

I installed axios and used tsdx build but it cannot find axios. I tried cleaning up the repository and install it again but it's still not working. axios version I'm using is 0.24.0.

Your environment

npx: installed 1 in 1.117s

System: OS: macOS 11.6.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 55.75 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 12.22.6 - ~/.nvm/versions/node/v12.22.6/bin/node npm: 6.14.15 - ~/.nvm/versions/node/v12.22.6/bin/npm Browsers: Chrome: 96.0.4664.55 Firefox: 91.3.0 Safari: 15.1 npmGlobalPackages: typescript: 4.5.2