리뷰 Redacting Sensitive Data with the DLP API개

리뷰 Redacting Sensitive Data with the DLP API개

리뷰 12721개

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. · 17일 전에 리뷰됨

Issy P. · 17일 전에 리뷰됨

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. · 17일 전에 리뷰됨

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

Keziah F. · 17일 전에 리뷰됨

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

Joshua v. · 17일 전에 리뷰됨

Arun N. · 17일 전에 리뷰됨

Bima Shakti Ramadhan U. · 17일 전에 리뷰됨

Joris D. · 17일 전에 리뷰됨

Miya O. · 17일 전에 리뷰됨

Fadhilah N. · 17일 전에 리뷰됨

T.J. Y. · 17일 전에 리뷰됨

Yacine B. · 17일 전에 리뷰됨

Pajri Z. · 17일 전에 리뷰됨

Pajri Z. · 17일 전에 리뷰됨

Ketut A. · 17일 전에 리뷰됨

Marco N. · 18일 전에 리뷰됨

ok

Kristian D. · 18일 전에 리뷰됨

Fiky B. · 18일 전에 리뷰됨

Charderra Eka B. · 18일 전에 리뷰됨

Arya Aji K. · 18일 전에 리뷰됨

Yanuar F. · 18일 전에 리뷰됨

Shan M. · 18일 전에 리뷰됨

Samuel Mahesa S. · 18일 전에 리뷰됨

damar G. · 18일 전에 리뷰됨

Saeful S. · 18일 전에 리뷰됨

Google은 게시된 리뷰가 제품을 구매 또는 사용한 소비자에 의해 작성되었음을 보증하지 않습니다. 리뷰는 Google의 인증을 거치지 않습니다.