minikube start
Run Code Online (Sandbox Code Playgroud)
在 Manjaro Deepin ( Arch Linux ) 上给出以下错误消息。
E1002 00:02:24.832976 26272 start.go:143] 启动主机时出错:临时错误:在主机上配置身份验证时出错:无法识别操作系统类型。
在带有 Ubuntu 16.04 和 VT-X/AMD-v 的 VirtualBox 上尝试它没有启用错误,甚至将 Virtualbox 首选项设置为 VT-X/AMD-v 启用。
注意:需要在我的本地机器上解决问题而不是 virtualBox
uname -a 输出
Linux xxx-pc 4.9.51-1-MANJARO #1 SMP PREEMPT Wed Sep 20 10:37:40 UTC 2017 x86_64 GNU/Linux
当您尝试在 Arch Linux 或 Manjaro 中共享屏幕或使用屏幕录像机时,屏幕会像下面这样闪烁: https: //i.stack.imgur.com/nvi4F.jpg
怎么解决?
我在安装其他软件包时也遇到问题,我认为这是因为我没有配置某些东西。想法?
sudo pacman -S grub-customizer
error: target not found: grub-customizer
Run Code Online (Sandbox Code Playgroud) 我在 Manjaro KDE Linux 上运行 VS code 并遇到了问题。每当我启动 VS 代码时,都会收到以下错误:
Visual Studio Code is unable to watch for file changes in this large workspace. Please follow the instructions link to resolve this issue.
Run Code Online (Sandbox Code Playgroud)
微软为此提供了解决方法。它涉及一些步骤来更改 Linux 文件的某些参数的大小。https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
我不想弄乱该文件,而是想更改 VS Code Explorer 的路径。正如您在所附的屏幕截图中看到的,当前它指向我的 $HOME(Pragun) 位置,我想将其更改为一个文件夹。但是,我搜索了 VS Code 上的每个帮助文档,查看了 VS Code 设置中的各个位置,我找不到更改 VS Code Explorer 监视的文件夹路径的方法。看来我一开始设置的任何内容都是硬编码的,我无法重置它。
如果您知道如何更改它,请感谢您的帮助。我也没有创建settings.json。
我是 i5 桌面上的菜鸟。我无法更新我的系统。在我输入并输入“sudo pacman -Syu”后,终端显示如下
[sudo] password for user-name: ********
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
Run Code Online (Sandbox Code Playgroud)
帮助!!
我从 AUR Pacman 安装了 Mongodb,我尝试重新安装 Mongo 但它不起作用,我也尝试了 Arch 故障排除方法,但它也不起作用。
当我尝试sudo mongod时,我得到了关注
[omr@auckwell ~]$ sudo mongo
[sudo] password for omr:
[omr@auckwell ~]$ sudo mongod
[sudo] password for omr:
{"t":{"$date":"2020-10-25T12:26:27.531+05:30"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2020-10-25T12:26:27.540+05:30"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2020-10-25T12:26:27.541+05:30"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2020-10-25T12:26:27.542+05:30"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":18541,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"auckwell"}}
{"t":{"$date":"2020-10-25T12:26:27.542+05:30"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.1","gitVersion":"ad91a93a5a31e175f5cbf8c69561e788bbc55ce1","openSSLVersion":"OpenSSL 1.1.1h 22 …Run Code Online (Sandbox Code Playgroud)我使用 Manjaro 进行 dotnet 开发,最近在 SSL 方面遇到了严重问题。
当我运行网络应用程序时,我收到一条警告:The ASP.NET Core developer certificate is not trusted. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert.
我已经仔细浏览了该链接 - 它对我们 Linux 用户没有多大帮助,对 Manjaro / Arch 则没有多大帮助。
这让我在房子里转了一圈,试图弄清楚我需要做什么才能真正信任这个证书——我该运行什么?它实际存储在哪里?
我找到了很多信息,其中大部分似乎都已经过时了。我现在让自己陷入了一些混乱——它仍然不起作用,我已经尝试了很多东西。
我从 Github 上的一篇文章推断出以下命令,但我不确定存储位置是否正确。
# Start at home
cd ~
# Create cert
dotnet dev-certs https
# Export cert to current directory
dotnet dev-certs https -ep localhost.crt --format PEM
# Create the paths if necessary
cd /usr/share/ca-certificates
sudo mkdir trust-source
sudo chmod 755 …Run Code Online (Sandbox Code Playgroud) 我刚刚react-native init在 Manjaro Linux 上创建了一个项目并使用 Android Studio 打开它。然后我react-native start在终端上运行,然后在现有模拟器上运行该应用程序,该模拟器打开一个红色屏幕,说明:
The development server returned response error code: 500
Metro Bundler has encountered an internal error, please check your terminal error output for more details
Run Code Online (Sandbox Code Playgroud)
在我的终端窗口上,它给了我以下错误:
error: bundling failed: Error: EACCES: permission denied, open '/tmp/metro-cache/52/45f310fea946062ca0c3c6122dec6592f224f34ee755285a39fd0922f1d4c6739388c3'
at Object.openSync (fs.js:443:3)
at Object.writeFileSync (fs.js:1163:35)
at FileStore.set (/home/user/ReactNativeProjects/albums/node_modules/metro-cache/src/stores/FileStore.js:43:8)
at Cache.set (/home/user/ReactNativeProjects/albums/node_modules/metro-cache/src/Cache.js:96:31)
at /home/user/ReactNativeProjects/albums/node_modules/metro/src/Bundler.js:287:13
at Generator.next (<anonymous>)
at step (/home/user/ReactNativeProjects/albums/node_modules/metro/src/Bundler.js:11:657)
at /home/us/ReactNativeProjects/albums/node_modules/metro/src/Bundler.js:11:817
at process._tickCallback (internal/process/next_tick.js:68:7)
BUNDLE [android, dev] ./index.js ???????????????? 0.0% (0/1), failed. …Run Code Online (Sandbox Code Playgroud) 我想删除 vscode (因为 vscode 不会启动。没有错误消息)。
我在快照列表中找到了它,但它不会删除:
$ snap list | grep code
code 8795a988 20 stable vscode* classic
$ snap remove vscode
snap "vscode" is not installed
$ snap remove vscode*
snap "vscode*" is not installed
Run Code Online (Sandbox Code Playgroud)
我在这里阅读教程:https://www.howtogeek.com/252047/how-to-install-and-manage-snap-packages-on-ubuntu-16.04-lts/
我从这里得到 vscode: https: //code.visualstudio.com/#alt-downloads
我正在尝试安装此代码我正在尝试为一个大学项目安装这个git-repo,但我陷入了困境,因为 ld 似乎无法正确链接 lua。我按照安装说明进行操作并使用以下命令编译代码:
catkin_make -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_CXX_STANDARD=14
Run Code Online (Sandbox Code Playgroud)
失败并显示几条消息,例如:
/usr/bin/ld: /home/felixk/catkin_ws/devel/lib/libflatland_lib.so: undefined reference to `lua_toboolean(lua_State*, int)'
/usr/bin/ld: /home/felixk/catkin_ws/devel/lib/libflatland_lib.so: undefined reference to `lua_tonumberx(lua_State*, int, int*)'
...
/usr/bin/ld: /home/felixk/catkin_ws/devel/lib/libflatland_lib.so: undefined reference to `lua_pushstring(lua_State*, char const*)'
/usr/bin/ld: /home/felixk/catkin_ws/devel/lib/libflatland_lib.so: undefined reference to `lua_isstring(lua_State*, int)'
collect2: error: ld returned 1 exit status
Run Code Online (Sandbox Code Playgroud)
该代码已经过测试并且可以在 Ubuntu 18.04 上运行,但我正在尝试让它在 Manjaro 上运行。手册指出这liblua5.2-dev是需要的,我从 AUR安装了lua52 ,它似乎提供了正确的库。
的输出ldd是:
ldd /home/felixk/catkin_ws/devel/lib/libflatland_lib.so | grep lua
liblua5.2.so.5.2 => /usr/lib/liblua5.2.so.5.2 (0x00007f23fd51c000)
Run Code Online (Sandbox Code Playgroud)
然后我检查是否/usr/lib/liblua5.2.so.5.2存在并且确实存在。我试图用来readelf检查是否liblua5.2.so.5.2 …
我正在尝试寻找最好的 tts。最后我发现 mac-os 终端中的 say 命令是最自然的扬声器引擎。但我想在我的linux操作系统中使用它。(Ubuntu或manjaro)有什么方法可以在linux中使用它吗?
我强调我不想使用 espeaker。只要说出命令就可以了。感谢您的帮助
我已经为此呆了一整天了。
\n我使用创建了一个新项目npx react-native init Project。但如果我尝试在 Android 上运行它,我会得到:
FAILURE: Build failed with an exception.\n\n* What went wrong:\nIncompatible magic value 0 in class file java/util/logging/ErrorManager\nRun Code Online (Sandbox Code Playgroud)\n我已经多次浏览过这些文档。当我跑步时npx react-native doctor,我得到这个:
Android\n\xe2\x9c\x93 JDK\n\xe2\x9c\x96 Android Studio - Required for building and installing your app on Android\n\xe2\x9c\x96 Android SDK - Required for building and installing your app on Android\n - Versions found: N/A\n - Version supported: 29.0.3\n\xe2\x9c\x93 ANDROID_HOME\nRun Code Online (Sandbox Code Playgroud)\n