nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

nwjs 0.82.0 fails to run on Intel MacOS 11.7.0

Open bluthen opened this issue 1 year ago • 2 comments

Issue Type

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

  • [x] Bug Report

  • [ ] Feature Request

  • [x] Successfully reproduced against the latest version of NW.js?

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

  • Chrome has minimum requirement for MacOS as 10.15 https://support.google.com/chrome/a/answer/7100626?hl=en
  • Nodejs has minimum requirement of MacOS 11 https://github.com/nodejs/node/blob/main/BUILDING.md#official-binary-platforms-and-toolchains

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:

  • :white_check_mark: MacOS 14.0 arm64
  • :white_check_mark: MacOS 13.6.1 arm64
  • :x: MacOS 11.7.0 intel
  • :white_check_mark: MacOS 12.6 intel but sdk version devtools has issue -- see screenshot

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

  • It starts up on intel MacOS 11.7.0 because it is greater than MacOS 11.0
  • Devtools comes up properly when using sdk version.

Additional Info

  • Operating System: MacOS 11.7.0
  • NW.js Version: 0.82.0
  • Repro Link:
  • Code snippet:
  • Crash report:

bluthen avatar Nov 16 '23 16:11 bluthen

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>

code-monki avatar Jan 23 '24 03:01 code-monki

I have same issue too

dyk98 avatar May 16 '24 03:05 dyk98