1
我試圖通過Sublime Text插件終端使用Putty控制檯。
當我用這種方式打開它時,我不能使用Gulp。 當我直接打開膩子 - 吞嚥工作正確。
當在Sublime文本插件中執行mintty中的命令時,「找不到命令」終端
我該如何解決?
控制檯輸出:
崇高插件bash: cut: command not found
[email protected] ~/Desktop/Проекты учебные/Gulp/test_gulp/gulp and workflow (master)
$ gulp
/c/Users/user/AppData/Roaming/npm/gulp: line 2: sed: command not found
/c/Users/user/AppData/Roaming/npm/gulp: line 2: dirname: command not found
/c/Users/user/AppData/Roaming/npm/gulp: line 4: uname: command not found
module.js:472
throw err;
^
Error: Cannot find module 'C:\Program Files\Git\node_modules\gulp\bin\gulp.js'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:425:7)
at startup (bootstrap_node.js:146:9)
at bootstrap_node.js:540:3
設置終端
{
// The command to execute for the terminal, leave blank for the OS default
// See https://github.com/wbond/sublime_terminal#examples for examples
"terminal": "C:\\Program Files\\Git\\usr\\bin\\mintty.exe",
"parameters": []
}