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

Failed to resolve import "virtual:vite-plugin-sentry/sentry-config" from "src/main.tsx". Does the file exist? #107

Open
dawidholisz opened this issue Sep 27, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@dawidholisz
Copy link

I have similar issue like here #81

image

I am using version 1.1.5 and vite 2.9.15
My import:

import ReactDOM from "react-dom/client";
import { BrowserTracing } from "@sentry/tracing";
import * as Sentry from "@sentry/react";
import "virtual:vite-plugin-sentry/sentry-config";
@amilajack
Copy link

amilajack commented Sep 28, 2022

the plugin doesn't seem to support [email protected]

@ikenfin
Copy link
Owner

ikenfin commented Oct 12, 2022

Hi! I'm trying to reproduce with vite 2.9.15, but no luck - it works for me🤔

Can someone please share reproducible example repo?

@ikenfin ikenfin self-assigned this Oct 18, 2022
@ikenfin ikenfin added the bug Something isn't working label Oct 18, 2022
@pleqtron
Copy link

pleqtron commented Nov 4, 2022

Hi! I'm trying to reproduce with vite 2.9.15, but no luck - it works for methinking

Can someone please share reproducible example repo?

Fresh Vite3 CLI Setup (typescript, vue, pinia, eslint, prettier) is failing as well. Having the same issue here

@youssefSamih
Copy link

youssefSamih commented Nov 14, 2022

Hi the problem is happen for me also when there is no authToken, org or project in sentry config specified because i have 3 env files production, development and test i just added this config on production env file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants