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.
Current Behavior
Throws
Cannot find module 'axios'
error even though it's installedExpected behavior
Should run without any error
Additional context
I installed axios and used
tsdx build
but it cannot findaxios
. I tried cleaning up the repository and install it again but it's still not working.axios
version I'm using is0.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