npm run deploy Failed to minify the code from ./node_modules/nanoid/index.browser.js:34

73 Views Asked by At

I'm trying to deploy my app-v1 to github However, receives a series of error messages. The latest:

Failed to minify the code from this file:

    ./node_modules/nanoid/index.browser.js:34 

line 34 in index.browser.js

let random = bytes => crypto.getRandomValues(new Uint8Array(bytes))

My questions to you are:

  1. can I safely delete line 34?
  2. Or should I completely ignore using nanoid?

Thank you in advance for your help and time

Greetings / Peter

0

There are 0 best solutions below