@jieunmarslim/server-editable-slides 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -116,9 +116,9 @@ async function runDoctor() {
|
|
|
116
116
|
` ✗ ACCESS DENIED: Account [${account}] does NOT have permission to access project [${project}].`,
|
|
117
117
|
);
|
|
118
118
|
console.error(
|
|
119
|
-
` 👉 Solution 1:
|
|
119
|
+
` 👉 Solution 1: Log in with the account that has access to [${project}]:`,
|
|
120
120
|
);
|
|
121
|
-
console.error(` gcloud
|
|
121
|
+
console.error(` gcloud auth login`);
|
|
122
122
|
console.error(
|
|
123
123
|
` 👉 Solution 2: Switch to a project that [${account}] can access:`,
|
|
124
124
|
);
|
|
@@ -381,7 +381,7 @@ function assertEnvironmentOrExit() {
|
|
|
381
381
|
stderr.includes('does not have permission') ||
|
|
382
382
|
stderr.includes('caller does not have permission')
|
|
383
383
|
) {
|
|
384
|
-
console.error(`[EditNBLM] 👉 Solution 1:
|
|
384
|
+
console.error(`[EditNBLM] 👉 Solution 1: Log in with an account that has access: gcloud auth login`);
|
|
385
385
|
console.error(`[EditNBLM] 👉 Solution 2: Switch to a project that [${account}] can access: gcloud config set project <PROJECT>`);
|
|
386
386
|
} else if (stderr.includes('not found') || stderr.includes('404')) {
|
|
387
387
|
console.error(`[EditNBLM] 👉 Project [${project}] does not exist. Run: gcloud config set project <VALID_PROJECT_ID>`);
|