I'm trying to upload an app created with MDB5 up to Google C


Topic: I'm trying to upload an app created with MDB5 up to Google Cloud Run and i'm getting a (null) seems to be corrupted.

Merchant pro premium asked 2 years ago

As the process reaches [ 5/10] I get a

ERROR [ 5/10] RUN npm run install-client --omit=dev

#9 5.257 npm WARN tarball tarball data for mdb-react-ui-kit@git+https://oauth2:MY-AUTH@git.mdbootstrap.com/mdb/react/mdb5/prd/mdb5-react-ui-kit-pro-essential#5ad3546856ca313cd49f7a53eab1266d5cf64698 (null) seems to be corrupted. Trying again.

It fails again when it tries again.

I'm guessing because Google Cloud Run is not authorised to use my code etc trying to receive from the git repository.

What's the normal solution to this?


Grzegorz Bujański staff answered 2 years ago

This looks like a Google Cloud bug, not our package.

I've looked at several threads with a similar error (e.g. this one: https://stackoverflow.com/questions/52739973/npm-tarball-data-for-material-design-icons-seems-to-be-corrupted)

It seems that in most cases removing node_modules and package-lock.json and running the npm i command helped


Merchant pro premium commented 2 years ago

I tried this, but because the npm install runs from the Google Cloud server, is can't access your repository using my access key. It's the same problem when I try to create a docker image.


Grzegorz Bujański staff answered 2 years ago

You can also try doing this:

$ npm cache verify
$ npm cache clean --force
$ npm install

If that doesn't help, you can just use the .tgz files from our zip packages and install the MDB with those files.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 5.1.0
  • Device: Windows
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No