Opinie (Redacting Sensitive Data with the DLP API)
12721 opinii
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. · Sprawdzono 17 dni temu
Issy P. · Sprawdzono 17 dni temu
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. · Sprawdzono 17 dni temu
the image based dlp one didn't work, several people in my training also didn't get it working.
Keziah F. · Sprawdzono 17 dni temu
Good lab but got errors on the image redaction step about how the mime package was being imported
Joshua v. · Sprawdzono 17 dni temu
Arun N. · Sprawdzono 17 dni temu
Bima Shakti Ramadhan U. · Sprawdzono 17 dni temu
Joris D. · Sprawdzono 17 dni temu
Miya O. · Sprawdzono 17 dni temu
Fadhilah N. · Sprawdzono 17 dni temu
T.J. Y. · Sprawdzono 17 dni temu
Yacine B. · Sprawdzono 17 dni temu
Pajri Z. · Sprawdzono 17 dni temu
Pajri Z. · Sprawdzono 17 dni temu
Ketut A. · Sprawdzono 17 dni temu
Marco N. · Sprawdzono 18 dni temu
ok
Kristian D. · Sprawdzono 18 dni temu
Fiky B. · Sprawdzono 18 dni temu
Charderra Eka B. · Sprawdzono 18 dni temu
Arya Aji K. · Sprawdzono 18 dni temu
Yanuar F. · Sprawdzono 18 dni temu
Shan M. · Sprawdzono 18 dni temu
Samuel Mahesa S. · Sprawdzono 18 dni temu
damar G. · Sprawdzono 18 dni temu
Saeful S. · Sprawdzono 18 dni temu
Nie gwarantujemy, że publikowane opinie pochodzą od konsumentów, którzy dane produkty kupili lub ich używali. Google nie weryfikuje opinii.