creativetimofficial / ct-material-kit-pro-react-native

Material Kit PRO React Native is a fully coded app template built over Galio.io, React Native and Expo
https://www.creative-tim.com/product/material-kit-pro-react-native
68 stars 22 forks source link

Install out of the box gives error directly #5

Closed ekandreas closed 4 years ago

ekandreas commented 4 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

Expected Behavior

npm install with no errors.

Current Behavior

npm install gives error npm ERR! Unexpected end of JSON input while parsing near '...6.0.0"},"peerDependen'

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

  1. Download the source code
  2. Unpack
  3. Type npm install
  4. Error occurs

Failure Logs

2019-11-20T08_24_32_263Z-debug.log

Please include any relevant log snippets or files here.

palingheorghe commented 4 years ago

Hi @ekandreas !

Thank you for being interested in our products! I looked over your issue and I tried to reproduce the error. Tried that on 2 different computers. As far as I can see this is a problem with your npm mirror -- it's returning incomplete files. It might be a cache error. You could try typing npm cache clean --force in your terminal in the material-kit-pro-react-native folder.

Thanks, Alin 🧜🏽‍♂️