Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discord-rpc in conjunction with Vue 2 #169

Closed
progzone122 opened this issue Jun 19, 2022 · 0 comments
Closed

discord-rpc in conjunction with Vue 2 #169

progzone122 opened this issue Jun 19, 2022 · 0 comments

Comments

@progzone122
Copy link

progzone122 commented Jun 19, 2022

When using discord-rpc in combination with Vue 2, an error occurs. Help me please

./~/discord-rpc/src/client.jsModule parse failed: D:\AnimeShip\node_modules\discord-rpc\src\client.js Unexpected token (634:8)You may need an appropriate loader to handle this file type.| return this.request(RPCCommands.GET_RELATIONSHIPS)| .then((o) => o.relationships.map((r) => ({| ...r,| type: types[r.type],| }))); @ ./~/discord-rpc/src/index.js 6:10-29 @ ./src/api/rpc.js @ ./src/main.js @ multi ./build/dev-client ./src/main.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant