Hi, all.
I'm Mamoru Hirasaki.
Nice to meet you.
I want to use janus with vue.js + typescript.
I tried to setup according this page.
but I had error...
Failed to compile.
./src/data_sources/janus/AppJanusClient.ts
Module not found: Error: Can't resolve 'janus-gateway/npm' in 'src/data_sources/janus'
{
"name": "janus-front",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"eslint-check": "eslint --ext .ts,.vue .",
"eslint-fix": "eslint --ext .ts,.vue . --fix",
"prettier-fix": "prettier --write . ",
"fix": "npm run eslint-fix && npm run prettier-fix",
"clear": "rm -rf node_modules && rm yarn.lock"
},
"dependencies": {
"core-js": "^3.6.5",
"janus-gateway": "git://
github.com/meetecho/janus-gateway.git",
"janus-gateway-tsdx": "^0.2.7",
"janus-typescript-client": "
https://github.com/marekhoryna/janus-typescript-client",
"moment": "^2.29.1",
"vue": "^2.6.11",
"vue-class-component": "^7.2.3",
"vue-property-decorator": "^9.1.2",
"vue-router": "^3.2.0",
"vuex": "^3.4.0",
"webrtc-adapter": "^8.1.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-typescript": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-loader": "^8.2.3",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.2",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-vue": "^8.2.0",
"exports-loader": "^2.0.0",
"prettier": "^2.5.1",
"typescript": "~4.1.5",
"vue-template-compiler": "^2.6.11",
"webpack": "^4.46.0"
}
}