Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run node.js x86 error? #153

Open
brandonros opened this issue Oct 23, 2022 · 0 comments
Open

run node.js x86 error? #153

brandonros opened this issue Oct 23, 2022 · 0 comments

Comments

@brandonros
Copy link

FROM scottyhardy/docker-wine:stable-7.0
WORKDIR /app
# copy source
COPY index.js .
COPY package.json .
COPY package-lock.json .
# download and extract win32 node
RUN wget https://nodejs.org/dist/v16.18.0/node-v16.18.0-win-x86.zip
RUN unzip node-v16.18.0-win-x86.zip
# install modules
ENV TERM='dumb'
RUN wineconsole --backend=curses /app/node-v16.18.0-win-x86/node.exe /app/node-v16.18.0-win-x86/node_modules/npm/bin/npm-cli.js install
ENTRYPOINT ["wineconsole", "--backend=curses", "/app/node-v16.18.0-win-x86/node.exe", "index.js"]

RUN wineconsole --backend=curses /app/node-v16.18.0-win-x86/node.exe /app/node-v16.18.0-win-x86/node_modules/npm/bin/npm-cli.js install:                                                                             
#0 0.333 wine: created the configuration directory '/root/.wine'                                                                                                                                                                                       
#0 0.461 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)                                                                                                                     
#0 0.916 0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)                                                                                                                     
#0 0.936 0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)                                                                                                                     
#0 1.097 0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
#0 1.097 0048:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
#0 1.098 0048:err:systray:initialize_systray Could not create tray window
#0 1.121 0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
#0 1.121 0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
#0 1.121 0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
#0 1.162 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
#0 1.162 002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
#0 1.170 0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
#0 1.170 0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
#0 1.171 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 3
#0 1.174 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
#0 1.176 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
#0 1.176 0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7
#0 1.176 0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
#0 1.176 0050:err:ole:apartment_get_local_server_stream Failed: 0x800736b7
#0 1.194 0050:err:ole:start_rpcss Failed to open RpcSs service
#0 1.236 0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
#0 1.236 0040:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
#0 1.708 0084:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
#0 1.708 0084:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
#0 6.964 008c:fixme:file:NtLockFile I/O completion on lock not implemented yet
#0 7.238 008c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
#0 7.253 008c:err:mscoree:LoadLibraryShim error reading registry key for installroot
#0 7.258 008c:err:mscoree:LoadLibraryShim error reading registry key for installroot
#0 7.258 008c:err:mscoree:LoadLibraryShim error reading registry key for installroot
#0 7.258 008c:err:mscoree:LoadLibraryShim error reading registry key for installroot
#0 15.92 0094:fixme:file:NtLockFile I/O completion on lock not implemented yet
#0 15.95 0094:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
#0 15.96 0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
#0 15.96 0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
#0 15.96 0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
#0 15.96 0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
#0 16.25 009c:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x7f240000), expect trouble
#0 16.89 0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
#0 16.89 0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
#0 16.96 008c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
#0 16.96 008c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
#0 18.72 00c4:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x7f340000), expect trouble
#0 18.91 00c4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
#0 18.91 00c4:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
#0 24.28 00cc:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x7f340000), expect trouble
#0 25.48 wine: configuration in L"/root/.wine" has been updated.
#0 25.52 0024:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x7f340000), expect trouble
#0 25.82 0110:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x7f340000), expect trouble
#0 26.17 0118:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
#0 26.17 0118:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
------
failed to solve: executor failed running [/bin/sh -c wineconsole --backend=curses /app/node-v16.18.0-win-x86/node.exe /app/node-v16.18.0-win-x86/node_modules/npm/bin/npm-cli.js install]: exit code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant