所以我搞砸了删除和安装node和npm以安装没有sudo的软件包,现在我无法在Webstorm中使用Grunt面板
消息是:
grunt --no-color --gruntfile /Users/max/repos/cb/Gruntfile.js --tasks /Applications/WebStorm.app/plugins/JavaScriptLanguage/grunt_js/tasks _intellij_grunt_tasks_fetcher
Cannot run program "grunt" (in directory "/Users/max/repos/cb"): error=2, No such file or directory
Looks like the grunt command isn't in your system path.
In order to view/run tasks, you need to install Grunt's command line interface globally:
npm install -g grunt-cli
For more information, please see http://gruntjs.com/getting-started
Run Code Online (Sandbox Code Playgroud)
但奇怪的是,即使在Webstorm中,我也可以从终端运行grunt.截图:

请注意我已grunt-cli安装.
我正在尝试在循环中执行动态选择,但我没有得到任何结果.我想让它像正常选择一样工作.
create or replace type proc_args as varray(20) of varchar2(50);
/
create or replace procedure proc_show_tab(args proc_args)
is
id_kursora integer;
wart integer;
polecenie varchar2(30);
begin
for i in 1..args.count loop
polecenie := 'SELECT * FROM '||args(i);
execute immediate polecenie;
end loop;
end;
/
show error;
declare
args2 proc_args;
begin
args2 := proc_args();
args2.extend(2);
args2(1) := 'osrodek';
args2(2) := 'trasa';
proc_show_tab(args2);
end;
/
Run Code Online (Sandbox Code Playgroud)