Error when building node-webkit in Windows

9 views
Skip to first unread message

nguyend...@gmail.com

unread,
Mar 13, 2014, 10:04:08 PM3/13/14
to node-...@googlegroups.com
Hi all,
I try to build the nw from scratch, do as the instruction in wiki. But at the 'gclient sync' step, i got this error:


Resolving deltas: 100% (1904360/1904360), done.
remote: Total 2440672 (delta 0), reused 0 (delta 0)
Checking connectivity... done.

________ running 'git checkout --quiet node' in 'C:\Development\node-webkit\src\
third_party\WebKit'

Syncing projects:  98% (87/88), done.ird_party/WebKit/LayoutTests

________ running 'C:\depot_tools\python276_bin\python.exe src/build/download_nac
l_toolchains.py --no-arm-trusted --keep' in 'C:\Development\node-webkit'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/linux/instal
l-arm-sysroot.py --linux-only' in 'C:\Development\node-webkit'

________ running 'C:\depot_tools\python276_bin\python.exe src/chrome/installer/l
inux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=amd64'
 in 'C:\Development\node-webkit'

________ running 'C:\depot_tools\python276_bin\python.exe src/chrome/installer/l
inux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=i386'
in 'C:\Development\node-webkit'

________ running 'C:\depot_tools\python276_bin\python.exe src/tools/clang/script
s/update.py --mac-only' in 'C:\Development\node-webkit'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/win/setup_cy
gwin_mount.py --win-only' in 'C:\Development\node-webkit'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/util/lastcha
nge.py -o src/build/util/LASTCHANGE' in 'C:\Development\node-webkit'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/util/lastcha
nge.py -s src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in 'C:\Deve
lopment\node-webkit'

________ running 'download_from_google_storage --platform=win32 --directory --bu
cket chromium-gn src/tools/gn/bin/win' in 'C:\Development\node-webkit'
0> Downloading src/tools/gn/bin/win\gn.exe...

________ running 'download_from_google_storage --platform="linux*" --directory -
-bucket chromium-gn src/tools/gn/bin/linux' in 'C:\Development\node-webkit'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/gyp_chromium
' in 'C:\Development\node-webkit'
Updating projects from gyp files...
Warning: Missing input files:
C:\Development\node-webkit\src\content\nw\src\breakpad_linux_impl.h
C:\Development\node-webkit\src\content\..\chrome\browser\ui\base_window.h
Hook ''C:\depot_tools\python276_bin\python.exe' src/build/gyp_chromium' took 82.
95 secs

________ running 'C:\depot_tools\python276_bin\python.exe src/build/landmines.py
' in 'C:\Development\node-webkit'
Traceback (most recent call last):
  File "C:\Development\node-webkit\src\build\get_landmines.py", line 63, in <mod
ule>
    sys.exit(main())
  File "C:\Development\node-webkit\src\build\get_landmines.py", line 58, in main

    print_landmines(options.target)
  File "C:\Development\node-webkit\src\build\get_landmines.py", line 29, in prin
t_landmines
    if (distributor() == 'goma' and platform() == 'win32' and
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 20, in inn
er
    ret = func()
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 60, in dis
tributor
    if 'goma' in gyp_defines():
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 20, in inn
er
    ret = func()
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 48, in gyp
_defines
    for arg in shlex.split(os.environ.get('GYP_DEFINES', '')))
ValueError: dictionary update sequence element #0 has length 1; 2 is required
Traceback (most recent call last):
  File "src/build/landmines.py", line 131, in <module>
    sys.exit(main())
  File "src/build/landmines.py", line 125, in main
    set_up_landmines(target, landmines)
  File "src/build/landmines.py", line 57, in set_up_landmines
    out_dir = get_target_build_dir(landmine_utils.builder(), target,
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 20, in inn
er
    ret = func()
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 102, in bu
ilder
    if platform() == 'android':
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 20, in inn
er
    ret = func()
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 73, in pla
tform
    if 'OS' in gyp_defines():
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 20, in inn
er
    ret = func()
  File "C:\Development\node-webkit\src\build\landmine_utils.py", line 48, in gyp
_defines
    for arg in shlex.split(os.environ.get('GYP_DEFINES', '')))
ValueError: dictionary update sequence element #0 has length 1; 2 is required
Error: Command C:\depot_tools\python276_bin\python.exe src/build/landmines.py re
turned non-zero exit status 1 in C:\Development\node-webkit


Please help me to solve this error. Sorry that I posted this topic before but then 
I dont know why the other replies of another topic go to this topic, so I post again here.
Thanks in advance.

qt.hk

unread,
Mar 14, 2014, 4:04:22 AM3/14/14
to node-...@googlegroups.com
on the windows platform, the altkey can't active the menubar.
I don't know that it was a bug or not.

Duc Tai Nguyen

unread,
Mar 14, 2014, 11:49:57 PM3/14/14
to node-...@googlegroups.com, q...@qt.hk
HI qt.hk,
Sorry, but I don't know why another topic can follow a different topic? Is there any error in our google group forum?
Reply all
Reply to author
Forward
0 new messages