Como encobrir dados sensíveis usando a API DLP avaliações

20589 avaliações

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. · Revisado há almost 2 years

the image based dlp one didn't work, several people in my training also didn't get it working.

Keziah F. · Revisado há almost 2 years

Good lab but got errors on the image redaction step about how the mime package was being imported

Joshua v. · Revisado há almost 2 years

Arun N. · Revisado há almost 2 years

Bima Shakti Ramadhan U. · Revisado há almost 2 years

Joris D. · Revisado há almost 2 years

Miya O. · Revisado há almost 2 years

Fadhilah N. · Revisado há almost 2 years

T.J. Y. · Revisado há almost 2 years

Yacine B. · Revisado há almost 2 years

Pajri Z. · Revisado há almost 2 years

Pajri Z. · Revisado há almost 2 years

Ketut A. · Revisado há almost 2 years

Marco N. · Revisado há almost 2 years

ok

Kristian D. · Revisado há almost 2 years

Charderra Eka B. · Revisado há almost 2 years

Arya Aji K. · Revisado há almost 2 years

Yanuar F. · Revisado há almost 2 years

Shan M. · Revisado há almost 2 years

Samuel Mahesa S. · Revisado há almost 2 years

damar G. · Revisado há almost 2 years

Saeful S. · Revisado há almost 2 years

Hans C. · Revisado há almost 2 years

Dava A. · Revisado há almost 2 years

Leandro C. · Revisado há almost 2 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.