-
Notifications
You must be signed in to change notification settings - Fork 31
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
[JS Bug]: JavaScript sample "02.react-video" fails in install in Teams via sideload method #307
Comments
Hey @canxerian thanks for filing the bug. Couple questions (starting with the frustrating basics) :
Meanwhile I'll try this out on a fresh clone and report back if I repro. |
@canxerian This looks like it's related to some code / documentation fixes I'm working on right now.
server: {
port: 3000
} to ensure it runs on the right port. (By default it runs on a different port)
The other samples have this info, but this one does not (my apologies) When you're trying out a sideload, you need to run Therefore, when you run import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
preserveSymlinks: true
},
server: {
hmr: {
// Needed to make ngrok work with Vite
clientPort: 443,
},
port: 3000,
},
}); Please try that out and let me know how it goes. Apologies again for the documentation errors - Working to get the fixes checked in ASAP. |
Hi @corinagum, thanks for your speedy reply! I ran the sample again with your suggestions but still hit the issue described above. Here's the error from the Teams DevTools console: |
Hmmm I'm sorry it's still not working for you. I used the 02 manifest just now and I was able to get the sample working.
|
Hey @canxerian, I was reading your post and saw this:
I assume you actually did this, but want to make sure:
Going to do more debugging to see if I can reproduce the issue, but in general this sort of thing will happen if: For Again, I'll keep debugging and let you know what I find, but hopefully this helps! |
Closing as resolved 🙂 |
Please review FAQ and Known issues before filing a new item!
Describe the bug
User is unable to sideload 02.react-video sample project in to Teams and receives the error message: "There was a problem reaching this app"
To Reproduce
Run the app locally
cd samples\javascript\02.react-video\manifest
npm install
npm start
ngrok http 3000 --host-header=localhost
Create Microsoft app and modify manifest.json
"id": "<<YOUR-MICROSOFT-APP-ID>>"
in `samples\javascript\02.react-video\manifest\manifest.json with the newly created app ID"configurationUrl": "https://<<BASE_URI_DOMAIN>>/config?inTeams=true"
with ngrok URL from step 5 abovesamples\javascript\02.react-video\manifest
to zip fileSideload package
Expected behavior
The app can be sideloaded in to Teams
Desktop(s) (please complete the following information):
The text was updated successfully, but these errors were encountered: