We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad5fb5 commit 71e3576Copy full SHA for 71e3576
src/RNBPlugin/index.ts
@@ -128,10 +128,14 @@ export class RNBPlugin {
128
);
129
await this.lifecycle.onInstall(value, previousValues);
130
await this.lifecycle.afterInstall(value, previousValues);
131
- await execSync(
132
- `yarn remove ${this.packageUrl}`,
133
- { stdio: 'pipe' },
134
- );
+ try {
+ await execSync(
+ `yarn remove ${this.packageUrl}`,
+ { stdio: 'pipe' },
135
+ );
136
+ } catch (e) {
137
+ // Silent fail
138
+ }
139
} catch (e) {
140
console.error(e);
141
}
0 commit comments