question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Loading Extension Before Changing Directory Failed on macOS

See original GitHub issue
  • State which version are you using
    • 0.14.7
  • State which OS version are you running with
    • Mac OS X 10.11.3
  • Provide a reproducible case if possible
    • Let chromium-args be --load-extension=./extensions/xxx.
    • After copying stuff to XXX.app/Contents/Resources/app.nw/, double click will simply fail with “Manifest file is missing or unreachable”, but cd XXX.app/Contents/Resources/app.nw/ && ../../nwjs will work.
    • I didn’t test which working directory was used when double click, but it wasn’t XXX.app/Contents/Resources/app.nw/ when NW.js tried to load extensions.

Relates: evshiron/nwjs-builder-phoenix#59

Issues meet the checklist above will be processed before those don’t.

EDIT: The original path was wrong.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shadowcodexcommented, Feb 16, 2019

@rogerwang Is there anything we can do about this?

If you run nwjs.app/Contents/MacOS/nwjs directly it works, but if you run the nwjs.app its context is wrong somehow and it won’t load the extension.

0reactions
runekaagaardcommented, Nov 30, 2020

This is still an issue on nwjs-sdk-v0.48.4-win-x64.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change Extensions settings on Mac - Apple Support
To change these settings, choose Apple menu > System Settings, click Privacy & Security in the sidebar, then click Extensions on the right....
Read more >
Box Drive's system extension failed to load - Box Support
To fix this i copied the box.fs folder to /Library/Extensions and ran kextload /Library/Extensions/box.fs/Contents/Extensions/11.0/osxfuse.
Read more >
macOS 11.5 - The system extension required for mounting ...
On macOS 11.5, the v4.1.2 extension cannot be loaded, even when the extension is allowed. The following message is displayed no matter what: ......
Read more >
External Extension (Local File) not loading in Mac OS X ...
crx works when installed the old way… • Launch Chrome 20 (which is still able to install off-store extensions) • Doubleclick my .crx...
Read more >
Changing file extensions for all files in a directory on OS X
Works fine on Mavericks, if you run into permission issues just insert sudo before the whole line, or enter a su. – Rstew....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found