我做了以下步骤:
git clone https://github.com/nibtehaz/NORTH-app.git
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install # which caused the following error
Run Code Online (Sandbox Code Playgroud)
并得到
The following packages have unmet dependencies:
nodejs : Conflicts: npm
npm : Depends: node-gyp (>= 3.6.2~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
我做了建议的事情,但它导致了另一个问题:
sudo apt install node-gyp
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not …Run Code Online (Sandbox Code Playgroud) 我通过以下方式安装 Flutter 和 VS Code:
\n$ sudo snap install --classic code\n$ sudo snap install --classic flutter \n$ export CHROME_EXECUTABLE="/usr/bin/chromium"\nRun Code Online (Sandbox Code Playgroud)\n$ flutter doctor -v\n[\xe2\x9c\x93] Flutter (Channel stable, 2.2.1, on Linux, locale en_AU.UTF-8)\n \xe2\x80\xa2 Flutter version 2.2.1 at /home/debian/snap/flutter/common/flutter\n \xe2\x80\xa2 Framework revision 02c026b03c (4 months ago), 2021-05-27 12:24:44 -0700\n \xe2\x80\xa2 Engine revision 0fdb562ac8\n \xe2\x80\xa2 Dart version 2.13.1\n\n[\xe2\x9c\x97] Android toolchain - develop for Android devices\n \xe2\x9c\x97 Unable to locate Android SDK.\n Install Android Studio from: https://developer.android.com/studio/index.html\n On first launch it will …Run Code Online (Sandbox Code Playgroud)