rlidwka / sinopia

Private npm repository server
5.51k stars 656 forks source link

TypeError while installing react-native-cli #493

Open cesschneider opened 4 years ago

cesschneider commented 4 years ago

I was following instructions for installation of react-native-cli from https://www.npmjs.com/package/react-native-cli and got this error:

http --> 200, req: 'GET https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz' (streaming) http <-- 200, user: cesar, req: 'GET /chalk/-/chalk-1.1.3.tgz', bytes: 0/5236 http <-- 200, user: cesar, req: 'GET /chalk/-/chalk-1.1.3.tgz', bytes: 0/5236 fatal --- uncaught exception, please report this TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined at makeCallback (fs.js:143:11) at Object.unlink (fs.js:1024:14) at C:\Users\Cesar\AppData\Roaming\npm\node_modules\sinopia\lib\local-fs.js:42:18 at FSReqCallback.oncomplete (fs.js:146:23)