
npm
文章平均质量分 60
China-quanda
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用 Vite 打包工具库并使用 GitHub Actions 自动化发布npm流程
我们在日常开发中经常会使用 npm install 安装别人的包,使用别人的插件。当你在前端开发有一段时间之后你也会知道,那些npm包实际上就是别人写好的一些代码来供你调用。开发久了难免就想自己造轮子了,当然现在轮子这么多,不一定要自己造了,你可以不做,但不能不会。那么今天就来讲讲如何通过Vite + TypeScript + Vitest + GitHub Actions 自动化发布流程来发布一个属于自己的npm包。原创 2024-09-23 10:37:29 · 1815 阅读 · 0 评论 -
npm install -g全局安装权限问题
npm install -g全局安装权限问题全局安装 npm install nrm -g安装 nrm 时返回错误:npm ERR! The operation was rejected by your operating system.npm ERR! It is likely you do not have the permissions to access this file as the current usernpm ERR!npm ERR! If you believe this m原创 2021-07-29 16:14:15 · 848 阅读 · 0 评论