nativescript-community / nativescript-community/sentry
An organization slug is required (provide with --org) on release android
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 18
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
I resolve this issue in my project to make these changes.
first I go to https://sentry.io/settings/masaar/ in setting top organization slug, then copy organization slug and add org: __SLUG__ line
config.plugins.push(
new SentryCliPlugin({
urlPrefix: SENTRY_PREFIX,
rewrite: true,
org: '__SLUG__',
cleanArtifacts: true,
release: `com.iklix.klix@${appVersion}+${buildNumber}`,
dist: `${buildNumber}.${platform}`,
ignoreFile: '.sentrycliignore',
include: [dist, join(dist, SOURCEMAP_REL_DIR)],
})
);
then I get this error error: A project slug is required. then I resolve this error using to add org: __SLUG__ line in
config.plugins.push(
new webpack.SourceMapDevToolPlugin({
org: '__SLUG__',
append: `\n//# sourceMappingURL=${SENTRY_PREFIX}[name].js.map`,
filename: join(SOURCEMAP_REL_DIR, '[name].js.map'),
})
);
now my project is successful build release version.
Reference : https://github.com/getsentry/sentry-cli/issues/179
sorry for weak English.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name repository files; start by locating the Android release configuration that creates SentryCliPlugin and SourceMapDevToolPlugin. Reproduce the reported --org and project-slug errors, then compare the configuration with the linked sentry-cli issue. Done means the Android release completes without these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100