我已经在~/.bashrc和~/.profile中配置了一个环境变量。 当我通过IDEA的Gradle配置运行我的应用程序时,我的环境变量显然不可用。我如何配置IDEA以全局的方式加载这个环境变量,这样我就不必手动将它添加到我需要它的每个项目(大约20个项目)中? 注意:在Manjaro Linux v18上运行。
按照的解释,我正在使用tarball在Linux ARM64上安装dotnet core。安装后,我按照建议设置了DOTNET_ROOT=$PATH:$HOME/dotnet。但是,全局工具无法使用A fatal error occurred, the required library libhostfxr.so could not be found.我通过将环境变量更改为DOTNET_ROOT=$HOME/dotnet修复了此问题。
这是中的错误吗?
npx : The term 'npx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, At line:1 char:1+ ~~~
+ CategoryInfo