私はgit repoからVScode 1.2ブランチをコンパイルしようとしています。プラットフォームはChomebookのcroutonで実行されているUbuntuの信頼性が高いプラットフォームです。 CPUはNvidia Tegra K1、32ビットARMv7です。ARM LinuxでVScodeをコンパイル/インストールするにはどうすればよいですか?
なぜこれをARMでコンパイルできないのですか?それは主にNode.JSとPythonで書かれているようですが、どちらもARM上にあり、どちらもCPUには依存しません。
=================================
[email protected] ~/v/scripts> tail -15 npm-debug.log
6702 info installOne [email protected]
6703 info installOne [email protected]
6704 error notsup Unsupported
6704 error notsup Not compatible with your operating system or architecture: [email protected]
6704 error notsup Valid OS: darwin
6704 error notsup Valid Arch: any
6704 error notsup Actual OS: linux
6704 error notsup Actual Arch: arm
6705 error System Linux 3.10.18
6706 error command "/usr/bin/nodejs" "/usr/bin/npm" "install"
6707 error cwd /home/philo/vscode/scripts
6708 error node -v v0.10.25
6709 error npm -v 1.3.10
6710 error code EBADPLATFORM
6711 verbose exit [ 1, true ]
私は、以下のアドバイスあたりfseventを編集しました。私はそれを実行しようとすると
npm WARN cannot run in wd [email protected] node build/npm/postinstall.js (wd=/home/philo/vscode-release-1.2)
::私も、私はまだ作業のビルドが届かない、しかしln -s /usr/bin/nodejs /usr/bin/node
に持っていた
[email protected] ~/vscode-release-1.2> ./scripts/code.sh
TypeError: Object function Object() { [native code] } has no method 'assign'
at Object.create (/home/philo/vscode-release-1.2/node_modules/gulp-tsb/lib/index.js:28:16)
at createCompile (/home/philo/vscode-release-1.2/gulpfile.js:47:15)
at compileTask (/home/philo/vscode-release-1.2/gulpfile.js:80:16)
at Object.<anonymous> (/home/philo/vscode-release-1.2/gulpfile.js:106:47)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
TypeError: Object function Object() { [native code] } has no method 'assign'
at Object.create (/home/philo/vscode-release-1.2/node_modules/gulp-tsb/lib/index.js:28:16)
at createCompile (/home/philo/vscode-release-1.2/gulpfile.js:47:15)
at compileTask (/home/philo/vscode-release-1.2/gulpfile.js:80:16)
at Object.<anonymous> (/home/philo/vscode-release-1.2/gulpfile.js:106:47)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
./scripts/code.sh: line 32: /home/philo/vscode-release-1.2/.build/electron/electron: No such file or directory
OS X版( 'Valid OS:darwin')をインストールしようとしていますか?有効なアーキテクチャは 'any'なので、' arm'は問題ではありません。 – jonrsharpe
[this](http://www.hanselman.com/blog/BuildingVisualStudioCodeOnARaspberryPi3.aspx)を見たことがありますか? – krontogiannis
どのノードのバージョンを使用していますか? 'node -v'を実行してノードのバージョンを出力します。 –