fail to run browser example(can not find some mudules ,yarn step failed ) #9552
Answered
by
vince-fugnitto
zhoujingfighting
asked this question in
Q&A
-
follow the instruction from the official documents,something wrong happened rror ~/theia/node_modules/@theia/electron: Command failed.
Exit code: 127
Command: node scripts/post-install.js
Arguments:
Directory: /Users/mima1234/Desktop/zhoujing/theia/node_modules/@theia/electron
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@7.1.2
gyp info using node@12.14.1 | darwin | x64
gyp info find Python using Python version 3.9.5 found at "/usr/local/opt/[email protected]/bin/python3.9"
gyp info spawn /usr/local/opt/python@3.9/bin/python3.9
gyp info spawn args [
gyp info spawn args '/Users/mima1234/Desktop/zhoujing/theia/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/mima1234/Desktop/zhoujing/theia/dev-packages/electron/native/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/mima1234/Desktop/zhoujing/theia/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/mima1234/Library/Caches/node-gyp/12.14.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/mima1234/Library/Caches/node-gyp/12.14.1',
gyp info spawn args '-Dnode_gyp_dir=/Users/mima1234/Desktop/zhoujing/theia/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/mima1234/Library/Caches/node-gyp/12.14.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/mima1234/Desktop/zhoujing/theia/dev-packages/electron/native',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CC(target) Release/obj.target/ffmpeg/src/ffmpeg.o
CC(target) Release/obj.target/ffmpeg/src/mac-ffmpeg.o
SOLINK_MODULE(target) Release/ffmpeg.node
gyp info ok
Downloading tmp-22616-0-SHASUMS256.txt-9.4.4
Error: connect ETIMEDOUT 52.74.223.119:443
Error: connect ETIMEDOUT 52.74.223.119:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1134:16) {
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT',
syscall: 'connect',
address: '52.74.223.119',
port: 443
} so , what's wrong with this issue???? |
Beta Was this translation helpful? Give feedback.
Answered by
vince-fugnitto
Jun 3, 2021
Replies: 1 comment 1 reply
-
@zhoujingfighting can you clarify the steps performed to reach the error? Can you also confirm if you satisfied the prerequisites? To build and run the git clone https://github.com/eclipse-theia/theia \
&& cd theia \
&& yarn \
&& cd examples/browser \
&& yarn run start |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vince-fugnitto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@zhoujingfighting can you clarify the steps performed to reach the error? Can you also confirm if you satisfied the prerequisites?
To build and run the
browser
example from https://github.com/eclipse-theia/theia it should be: