antd安装遇到的一个小问题
现象是npm获取相关依赖时获取到https://registry.npmjs.org/rc-time-picker/-/rc-time-picker-3.7.3.tgz时报403错误,
由于内网白名单端口的一些限制发现https改成http是可以的,
但是问题是.npmrc已经设置了registry=https://mirrors.huaweicloud.com/repository/npm/为什么还会出现https://registry.npmjs.org的请求呢,
通过查看错误日志,可以看到
https://mirrors.huaweicloud.com/repository/npm/rc-time-picker
这就是问题所在了,有些脑袋疼;
看了一下antd 3中的rc-time-picker^3.7.1,又担心直接切到后面的版本会出问题,
暂时改成官方源registry=http://registry.npmjs.org/问题解决了;
/*************************************************************************************/
https://cloud.tencent.com/developer/article/1395426=>npm start保存,端口已经被占用
https://blog.bitsrc.io/why-we-switched-to-react-hooks-48798c42c7f
https://medium.com/@dan_abramov/making-sense-of-react-hooks-fdbde8803889
https://juejin.im/post/5d0ae589518825122925c2de
https://juejin.im/post/5d478b2d518825673a6ae1b9
https://cloud.tencent.com/developer/article/1521587
https://zhuanlan.zhihu.com/p/50597236
https://medium.com/better-programming/here-are-6-awesome-react-hooks-2ff0c0b35218
https://medium.com/@chathuranga94/introduction-to-react-hooks-4694fe2d0fc0
https://medium.com/@rashminashrestha/mobx-vs-redux-with-react-58090605b02d
https://medium.com/javascript-scene/do-react-hooks-replace-redux-210bab340672
https://zhuanlan.zhihu.com/p/112478520
https://github.com/apa7/Web-Series/tree/master/React
https://github.com/apa7/Web-Series/
https://medium.com/@Alibaba_Cloud/implementing-an-iot-network-using-only-javascript-26aa6de0fe9a
https://blog.csdn.net/weixin_36279318/article/details/88927326
- 点赞
- 收藏
- 关注作者
评论(0)