-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
ReferenceError: siblingVersion is not defined while installing the package #781
Comments
Hi, could you try installing with this specific version?
|
The same issue is occured with the command. |
The only way to avoid this error seems to be installing the @sentry/capacitor and @sentry/vue packages separately, one at a time. When I try to install both simultaneously, the error occurs regardless of the versions. |
I am sorry for your experience with the SDK. |
Environment
node 20.9.0
yarn 1.22.17
vue 3.5.12
vite 5.4.10
Steps to Reproduce
Expected Result
package is installed
Actual Result
error /Users/iyong-eun/Desktop/works/ddtalk/codes/docktalk/node_modules/@sentry/capacitor: Command failed.
Exit code: 1
Command: node scripts/check-siblings.js
Arguments:
Directory: /Users/iyong-eun/Desktop/works/ddtalk/codes/docktalk/node_modules/@sentry/capacitor
Output:
/Users/iyong-eun/Desktop/works/ddtalk/codes/docktalk/node_modules/@sentry/capacitor/scripts/check-siblings.js:69
errorMessages.push("You must specify the version to the package " + installedVersion + ". ( " + installedVersion + "@" + siblingVersion + ")");
^
ReferenceError: siblingVersion is not defined
at ValidateSentryPackageParameters (/Users/iyong-eun/Desktop/works/ddtalk/codes/docktalk/node_modules/@sentry/capacitor/scripts/check-siblings.js:69:130)
at CheckSiblings (/Users/iyong-eun/Desktop/works/ddtalk/codes/docktalk/node_modules/@sentry/capacitor/scripts/check-siblings.js:128:7)
at Object. (/Users/iyong-eun/Desktop/works/ddtalk/codes/docktalk/node_modules/@sentry/capacitor/scripts/check-siblings.js:158:1)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47
I think the function
ValidateSentryPackageParameters
should be defined in the functionCheckSiblings
or the variablesiblingVersion
should be passed as an argument.The text was updated successfully, but these errors were encountered: