Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
463 views
in Technique[技术] by (71.8m points)

关于npm模块的路径

之前下载nodejs全局安装hexo在c盘,
nodejs的全局路径修改为d盘后,运行hexo还是可以的,
尝试着将原来放在c盘的hexo改放到了现在的全局路径(也就是d盘),
运行hexo发现报错,说是在c盘(之前的全局路径)找不到hexo
请问有什么方法修改么?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

如果是linux 可能是没有配置入.bashrc中


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...