Closed neilyoung closed 6 months ago
please refer to this for solutions, https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
Right when you say this, I found the same link...
After npm audit fix --force
:
ERROR TypeError: transpileDependencies.map is not a function
TypeError: transpileDependencies.map is not a function
at genTranspileDepRegex (/Users/me/Documents/tmp/vue-webrtc/Tools/TroubleShooting/Agora-WebRTC-Troubleshooting/node_modules/@vue/cli-plugin-babel/index.js:5:38)
at module.exports (/Users/me/Documents/tmp/vue-webrtc/Tools/TroubleShooting/Agora-WebRTC-Troubleshooting/node_modules/@vue/cli-plugin-babel/index.js:21:29)
at /Users/me/Documents/tmp/vue-webrtc/Tools/TroubleShooting/Agora-WebRTC-Troubleshooting/node_modules/@vue/cli-service/lib/Service.js:82:9
at Array.forEach (<anonymous>)
at loadedCallback (/Users/me/Documents/tmp/vue-webrtc/Tools/TroubleShooting/Agora-WebRTC-Troubleshooting/node_modules/@vue/cli-service/lib/Service.js:80:20)
at Service.init (/Users/me/Documents/tmp/vue-webrtc/Tools/TroubleShooting/Agora-WebRTC-Troubleshooting/node_modules/@vue/cli-service/lib/Service.js:97:14)
at Service.run (/Users/me/Documents/tmp/vue-webrtc/Tools/TroubleShooting/Agora-WebRTC-Troubleshooting/node_modules/@vue/cli-service/lib/Service.js:247:16)
at Object.<anonymous> (/Users/me/Documents/tmp/vue-webrtc/Tools/TroubleShooting/Agora-WebRTC-Troubleshooting/node_modules/@vue/cli-service/bin/vue-cli-service.js:37:9)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
i think this is simply too old version.. we will try to take a look to see if we can fix it. Before that, i would suggest you to downgrade your nodejs version.
I'm not focused on this app, I was just looking for an Agora WebRTC sample for Vue JS
@neilyoung in this case, pls take a look at this instead, https://github.com/agoraio/api-examples-web
OK, thank you.
Running the
Agora-WebRTC-Troubleshooting
on MacOS, Sonoma, M1. AppID configured.npm install
fine.npm run dev
gives this:What am I missing?