-
-
Save ted-piotrowski/e5c223a6a2f6f3079cb38c959ceecaa6 to your computer and use it in GitHub Desktop.
# 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 |
npm WARN deprecated [email protected]: use uuid module instead
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
[ ...........] \ fetchMetadata: verb cache add spec optionator@^0.5.0
Thank you for the clear instructions.
- Build succeeded
- Package installed successfully with dpkg
- Menu item is created
- Binaries nowhere to be found
What am I missing here, besides the binaries?
[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
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?
Giving warnigs after warnings....in raspberry pi 3