npm ERR! Unexpected end of JSON input while parsing near '...2.4.8","karma":"~0.10' 如上:我们在终端用npm install 安装依赖时,有时会报上述错误. 解决方法: 清除缓存 npm cache clean --force
I had the same problem in Xcode 6.1.1. I did the following to solve it: Set the configuration file setting* "None" for the Pods related target. Close the .xcworkspace. run pod install again now open and build your .xcworkspace *The configuration