Last active
August 31, 2022 14:27
-
-
Save ted-piotrowski/e5c223a6a2f6f3079cb38c959ceecaa6 to your computer and use it in GitHub Desktop.
Visual Studio Code on ARM Debian Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# building Visual Studio Code Debian package on ARM | |
# get source code | |
git clone [email protected]:Microsoft/vscode.git | |
cd vscode | |
# build debian package | |
./scripts/npm.sh install --arch=armhf | |
./node_modules/.bin/gulp vscode-linux-arm-build-deb | |
# locate built package, install and run | |
find . -name *.deb #this will give location of built package | |
sudo dpkg install [location-from-previous-step] | |
code-oss # to run the installed program |
i got this npm error :Failed to find Electron v1.7.0 for linux-armhf at https://github.com/electron/electron/releases/download/v1.7.0/chromedriver-v1.7.0-linux-armhf.zip
I looked at github.com/electron/electron/releases/ and there is no package for armhf at all. So how could you finish compiling the VScode?? thx
When running "./scripts/npm.sh install --arch=armhf" I get "no command yarn"
When I try running yarn from shell I get recommendation to run "apt install cmdtest".
I install cmdtext and when I run "./scripts/npm.sh install --arch=armhf" I now get "yarn does not recognise --arch"
I am running ARMBIAN 5.59 stable Ubuntu 18.04.1 LTS 4.14.65-sunxi on orange pi zero.
Is this the same as vscode? Will it get updates?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[14:37:02] Using gulpfile ~/Code/vscode/gulpfile.js
[14:37:02] Starting 'clean-vscode-linux-arm-deb'...
[14:37:03] Finished 'clean-vscode-linux-arm-deb' after 30 ms
[14:37:03] Starting 'vscode-linux-arm-prepare-deb'...
[14:37:03] Finished 'vscode-linux-arm-prepare-deb' after 144 ms
[14:37:03] Starting 'vscode-linux-arm-build-deb'...
dpkg-deb: building package 'code-oss' in 'deb/code-oss_1.19.0-1509802622_armhf.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning: code-oss
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
[14:37:04] Finished 'vscode-linux-arm-build-deb' after 1.07 s