santong
santong
新手请教下使用npm命令的时候出现这个错误怎么解决 google了一下没有找到答案,具体报错信息 > Error: Cache dir is required > at CachingRegistryClient.RegClient (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/index.js:50:33) > at new CachingRegistryClient (/usr/local/lib/node_modules/npm/lib/cache/caching-client.js:20:18) > at /usr/local/lib/node_modules/npm/lib/npm.js:362:22 > at /usr/local/lib/node_modules/npm/lib/config/core.js:82:7 > at Array.forEach (native) > at /usr/local/lib/node_modules/npm/lib/config/core.js:81:13...
I'm using the client on react-native. But It disconnected immediately and get this error when I try to connect the third-party server. I wonder know why but there is no...