gpt4 book ai didi

node.js - 错误: Cannot find module 'less'

转载 作者:太空宇宙 更新时间:2023-11-03 22:52:33 25 4
gpt4 key购买 nike

运行命令时: "C:\Program Files (x86)\nodejs\node.exe""C:\Users\dule\AppData\Local\Temp\ass2560.tmp" 我得到这个错误:

Error Output: module.js:339 throw err; ^ Error: Cannot find module 'less' at Function.Module._resolveFilename (module.js:337:15) at Function.Module._load (module.js:287:25) at Module.require (module.js:366:17) at require (module.js:385:17) at Object. (C:\Users\dule\AppData\Local\Temp\ass2560.tmp:1:74) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:467:10)

最佳答案

解决问题的一个简单方法是运行命令:

npm install -g less

关于node.js - 错误: Cannot find module 'less' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37356227/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com