nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.16k stars 3.88k forks source link

nwjs 0.82.0 fails to run on Intel MacOS 11.7.0 #8141

Open bluthen opened 6 months ago

bluthen commented 6 months ago

Issue Type

Before opening an issue, please search and see if it has already been raised.

Please use our mailing list or Gitter chatroom to ask questions. The issue tracker is only for bugs and feature requests, in English only. Please note that issues without a repro or code snippet are less likely to be resolved.

Current/Missing Behavior

On Intel MacOS 11.7.0 when running nwjs the following gets output and it never displays and hangs there:

nwjs-v0.82.0-osx-x64 % ./nwjs.app/Contents/MacOS/nwjs
[1116/095354.904194:ERROR:zip.cc(179)] Cannot open '/Users/rvalentine/Downloads/nwjs-v0.82.0-osx-x64/nwjs.app/Contents/Resources/app.nw': FILE_ERROR_NOT_FOUND: No such file or directory (2)
[1430:259:1116/095355.130477:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
Received signal 11 <unknown> 000000000000
 [0x00010fca83d2]
 [0x00010fc9af43]
 [0x00010fca8321]
 [0x7fff203f9d7d]
 [0x000000000000]
 [0x7fff203b0443]
[end of stack trace]
[1116/095355.637233:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffeee7c6000, 0x2000): (os/kern) invalid address (1)
[1439:12803:1116/095400.515352:ERROR:cert_verify_proc_builtin.cc(621)] No net_fetcher for performing AIA chasing.

MacOS versions tested 0.82.0:

Don't know if it applies to all intel, or just MacOS 11. The intel mac I have can not update MacOS further than 11.7.0. If I find another MacOS I'll update with more information.

Below image that comes up in place of devtools for MacOS 12.6 intel:

0 82 0_macos12 6_devtools

Expected/Proposed Behavior

Additional Info

code-monki commented 4 months ago

I'm getting the same issue on a 2020 M1 Mac Mini with Mac OS X 14.2.1 (Sonoma).

> npx nw --enable-chrome-browser-cloud-management

[0122/211725.564988:ERROR:zip.cc(179)] Cannot open '/Users/chuck/projects/nw-test/node_modules/nw/nwjs/nwjs.app/Contents/Resources/app.nw': FILE_ERROR_NOT_FOUND: No such file or directory (2)
[17874:12291:0122/211730.993268:ERROR:cert_verify_proc_builtin.cc(625)] No net_fetcher for performing AIA chasing.
[17874:12291:0122/211738.504224:ERROR:cert_verify_proc_builtin.cc(625)] No net_fetcher for performing AIA chasing.

The browser window opens and displays Hello, World! though. Not sure what the scoop is. :-/

Source Code (index.html):

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>NW.js Test</title>
</head>
<body>
  <h1>Hello, World!</h1>
</body>
</html>
dyk98 commented 2 weeks ago

I have same issue too