mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.57k stars 32.19k forks source link

npm install @material-ui/core #13457

Closed ramosisw closed 5 years ago

ramosisw commented 5 years ago

Install With NPM v6.4.1

Log

D:\Desarrollo\Web\home-assistant-react>npm install @material-ui/core
npm ERR! Unexpected end of JSON input while parsing near '...n1f+arZBjKmX6vtgJJvRD'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\jcramos\AppData\Roaming\npm-cache\_logs\2018-10-30T19_27_50_308Z-debug.log

Part at Full LOG

7 http fetch GET 200 https://registry.npmjs.org/@material-ui%2fcore 44ms (from cache)
8 silly fetchPackageMetaData error for @material-ui/core@^3.3.1 Unexpected end of JSON input while parsing near '...n1f+arZBjKmX6vtgJJvRD'
9 timing stage:rollbackFailedOptional Completed in 2ms
10 timing stage:runTopLevelLifecycles Completed in 11738ms
11 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...n1f+arZBjKmX6vtgJJvRD'
11 verbose stack     at JSON.parse (<anonymous>)
11 verbose stack     at parseJson (C:\Users\jcramos\AppData\Roaming\npm\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17)
11 verbose stack     at consumeBody.call.then.buffer (C:\Users\jcramos\AppData\Roaming\npm\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50)
11 verbose stack     at <anonymous>
11 verbose stack     at process._tickCallback (internal/process/next_tick.js:188:7)
12 verbose cwd D:\Desarrollo\Web\home-assistant-react
13 verbose Windows_NT 10.0.17134
14 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\jcramos\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "@material-ui/core"
15 verbose node v8.11.1
16 verbose npm  v6.4.1
17 error Unexpected end of JSON input while parsing near '...n1f+arZBjKmX6vtgJJvRD'
18 verbose exit [ 1, true ]
ramosisw commented 5 years ago

i solved with command

npm cache clean -f