dm3
dm3 copied to clipboard
Error when running the web package: axios_1.default.post is not a function
Hello guys, I got an error while trying to I am trying to run the web application with the following steps.:
-
yarn && yarn build
-
cd packages/web
-
yarn start
- Press
Sign In
in the website andsign
twice with MetaMask. - The error came: Uncaught runtime errors: axios_1.default.post is not a function
The error happens in the file: /packages/lib/offchainResolver-api/src/index.ts at:
const { status } = await axios.post(url, data);
It seems something related to the build configuration. As when logging axios_1
in the browser:
{default: '/static/media/axios.cae3b842dc3a1d186a27.cjs'}
So, I am wondering how you run the website from packages/web
. And I am wondering, what I am missing?
node -v: v16.16.0 npm -version: 9.3.0 OS: Linux Mint
Thanks,
Hi Muhammad, sorry for the late reply. We are releasing the new version of the components at the moment and will address this issue as well.