Redacting Sensitive Data with the DLP API Rezensionen
20682 Rezensionen
Difa S. · Vor fast 2 Jahre überprüft
Arizki Putra R. · Vor fast 2 Jahre überprüft
khozin a. · Vor fast 2 Jahre überprüft
khozin a. · Vor fast 2 Jahre überprüft
Daniel S. · Vor fast 2 Jahre überprüft
At the time of writing, there's an error with the latest version of mime on the last task using redactImage.js as reported by others in the review related with failing to import the mime module. The easy workaround is to edit package.json so that it uses mime "3.0.0" instead of "^4.0.0", but the sample code really ought to be fixed for the lab.
Bernas Cakra Sakti H. · Vor fast 2 Jahre überprüft
Makmurry A. · Vor fast 2 Jahre überprüft
Fitria Novyanti T. · Vor fast 2 Jahre überprüft
Ichsanul H. · Vor fast 2 Jahre überprüft
EFA Y. · Vor fast 2 Jahre überprüft
KHAMDAN A. · Vor fast 2 Jahre überprüft
nice
003_ A. · Vor fast 2 Jahre überprüft
David W. · Vor fast 2 Jahre überprüft
Putri P. · Vor fast 2 Jahre überprüft
Rishabh A. · Vor fast 2 Jahre überprüft
Brian K. · Vor fast 2 Jahre überprüft
the last command didn't work but good to see this how easy it can be to redact sensitive data.
Tian W. · Vor fast 2 Jahre überprüft
Ran into error with importing mime: /home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js:27 const mime = require('mime'); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /home/student_03_e75e363a1593/nodejs-docs-samples/dlp/node_modules/mime/dist/src/index.js from /home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js not supported. Instead change the require of index.js in /home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js to a dynamic import() which is available in all CommonJS modules. at main (/home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js:27:16) at Object.<anonymous> (/home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js:83:1) { code: 'ERR_REQUIRE_ESM' } Node.js v20.17.0
April C. · Vor fast 2 Jahre überprüft
Issy P. · Vor fast 2 Jahre überprüft
Error as below: student_03_95a9145c222c@cloudshell:~/nodejs-docs-samples/dlp (qwiklabs-gcp-03-361e360df4d1)$ node redactImage.js $GCLOUD_PROJECT ~/dlp-input.png "" EMAIL_ADDRESS ~/dlp-redacted.png /home/student_03_95a9145c222c/nodejs-docs-samples/dlp/redactImage.js:27 const mime = require('mime'); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /home/student_03_95a9145c222c/nodejs-docs-samples/dlp/node_modules/mime/dist/src/index.js from /home/student_03_95a9145c222c/nodejs-docs-samples/dlp/redactImage.js not supported. Instead change the require of index.js in /home/student_03_95a9145c222c/nodejs-docs-samples/dlp/redactImage.js to a dynamic import() which is available in all CommonJS modules. at main (/home/student_03_95a9145c222c/nodejs-docs-samples/dlp/redactImage.js:27:16) at Object.<anonymous> (/home/student_03_95a9145c222c/nodejs-docs-samples/dlp/redactImage.js:83:1) { code: 'ERR_REQUIRE_ESM' } Node.js v20.17.0
Georgia S. · Vor fast 2 Jahre überprüft
the image based dlp one didn't work, several people in my training also didn't get it working.
Keziah F. · Vor fast 2 Jahre überprüft
Good lab but got errors on the image redaction step about how the mime package was being imported
Joshua v. · Vor fast 2 Jahre überprüft
Arun N. · Vor fast 2 Jahre überprüft
Bima Shakti Ramadhan U. · Vor fast 2 Jahre überprüft
Joris D. · Vor fast 2 Jahre überprüft
Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.