Skip to content

Commit 8c3d6c6

Browse files
committed
fix tips for npm env variables
1 parent ec5edad commit 8c3d6c6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

一些技巧/tips.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ categories:
44
- 一些技巧
55
abbrlink: 642c4108
66
date: 2024-06-26 16:05:00
7-
updated: 2025-02-18 11:35:00
7+
updated: 2025-02-19 10:50:00
88
---
99

1010
<meta name="referrer" content="no-referrer"/>
@@ -233,16 +233,18 @@ updated: 2025-02-18 11:35:00
233233

234234
- ccache清除缓存文件夹:使用命令`ccache -s -v`查看缓存的位置,删除即可
235235

236-
- windows下安装npm和cnpm[https://blog.csdn.net/qq_40323256/article/details/100825982](https://blog.csdn.net/qq_40323256/article/details/100825982)
236+
- windows 下安装 npm 和 cnpm[https://blog.csdn.net/qq_40323256/article/details/100825982](https://blog.csdn.net/qq_40323256/article/details/100825982)
237237

238-
- npm配置环境变量[https://blog.csdn.net/InOneStep/article/details/110235287](https://blog.csdn.net/InOneStep/article/details/110235287)
238+
- npm 配置环境变量[https://blog.csdn.net/InOneStep/article/details/110235287](https://blog.csdn.net/InOneStep/article/details/110235287)
239239

240-
- 在npm官方发布自己的包
240+
- 注意:Scoop 安装的 nodejs 最好也按照文章配置环境变量。不过有一点需要注意,node_global 和 node_cache 目录最好放在 Scoop 的 persist 目录下的对应位置。否则更新 nodejs 以后,对应的目录会被清除,导致使用出现问题。
241+
242+
- 在 npm 官方发布自己的包
241243

242244
- [https://blog.csdn.net/Angsts/article/details/116307509](https://blog.csdn.net/Angsts/article/details/116307509)
243245
- [https://blog.csdn.net/to_the_Future/article/details/122949610](https://blog.csdn.net/to_the_Future/article/details/122949610)
244246

245-
- npm换源
247+
- npm 换源
246248

247249
- 官方源
248250

0 commit comments

Comments
 (0)