나는 git repo에서 VScode 1.2 브랜치를 컴파일하려고한다. 플랫폼은 Chomebook의 crouton에서 우분투가 믿을 만하다. 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 '를 실행하십시오. –