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

Compiling issue This dependency was not found #502

Closed
Sebarkar opened this issue Feb 20, 2023 · 3 comments · Fixed by #510
Closed

Compiling issue This dependency was not found #502

Sebarkar opened this issue Feb 20, 2023 · 3 comments · Fixed by #510
Labels

Comments

@Sebarkar
Copy link

Sebarkar commented Feb 20, 2023

Version

@nuxtjs/sentry: ex: 7.0.4
nuxt: 2.16.1 also 2.15.8

Sentry configuration

sentry: {
dsn: "###", // Enter your project's DSN here
config: {
  // Add native Sentry config here
  // https://docs.sentry.io/platforms/javascript/guides/vue/configuration/options/
},
customClientIntegrations: '../site/plugins/sentryReplay', //or '~/plugins/sentryReplay.js'
clientConfig: {
  replaysSessionSampleRate: 1.0,
  replaysOnErrorSampleRate: 1.0,
}

},

This dependency was not found: friendly-errors 01:55:27
friendly-errors 01:55:27

  • E:SiteDerictoriessitepluginssentryReplay in ./.nuxt/sentry.client.js

On Windows links transforming in unespected way. All project works perfect, alias are correct.

Looking for solution...

@Sebarkar Sebarkar added the bug label Feb 20, 2023
@noah-seltzer
Copy link

noah-seltzer commented Feb 27, 2023

seeing the same thing happening to me on windows.

the configuration option customClientIntegrations: '~/plugins/sentry-custom-integrations.js',

is compiled to 'C:\<subdir>\<subdir>\<project-name>\plugins\sentry-custom-integrations.js' in sentry.client.js

which finally resolves to a broken path due to \ acting as an escape character:

[...]pluginssentry-custom-integrations.js

this shouldn't affect our live builds which use poxis systems, but this is forcing me to build in a workaround for local windows development

@rchl
Copy link
Member

rchl commented Feb 27, 2023

Released https://github.com/nuxt-community/sentry-module/releases/tag/v7.1.1 with a fix.

@noah-seltzer
Copy link

thanks!

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

Successfully merging a pull request may close this issue.

3 participants