我正在尝试从git repo编译VScode 1.2分支。这个平台是ubuntutrusty在cruton的Chomebook上运行。CPU是Nvidia Tegra K1,32位ARMv7。在
为什么这个不能在ARM上编译?它看起来主要是写在节点.JS还有Python,我在ARM上都有,它们都不依赖CPU。在=================================
philo@localhost ~/v/scripts> tail -15 npm-debug.log
6702 info installOne typechecker@2.0.8
6703 info installOne fsevents@0.3.8
6704 error notsup Unsupported
6704 error notsup Not compatible with your operating system or architecture: fsevents@0.3.8
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。我也不得不ln -s /usr/bin/nodejs /usr/bin/node但是,我仍然没有得到一个有效的构建:
^{pr2}$
当我试着跑的时候:philo@localhost ~/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. (/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. (/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