I am using Mac, and using gulp with node.js.
(我正在使用Mac,并将gulp与node.js一起使用。)
A few days ago, it was all working (compiled to CSS) when I typed "gulp sass"/ "gulp sass:watch", but suddenly today, I got the error message of "No Gulpfile Found" as I typed the same command, "gulp sass". (几天前,当我键入“ gulp sass” /“ gulp sass:watch”时,一切正常(编译为CSS),但是今天突然,当我键入相同的命令时,出现了错误消息“找不到Gulpfile” ,“大嘴”。)
I thought the gulp might be upgraded lately, and installed "gulp" again with "npm i -D gulp", but it hasn't changed anything. (我以为gulp可能会在最近进行升级,并用“ npm i -D gulp”再次安装“ gulp”,但是它没有任何改变。)
I've just started learning programming a month ago, so forgive me not making a good question.
(我一个月前才刚刚开始学习编程,所以请原谅我提出的问题不是很好。)
These are files I've got in my project file: (这些是我在项目文件中拥有的文件:)
- gulpfile.js
(gulpfile.js)
- package-lock.json
(package-lock.json)
- package.json
(package.json)
- node_modules
(node_modules)
- sass
(ass)
I appreciate your kind answers.
(非常感谢您的回答。)
ask by Sanae translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…