node-remote does not recognize file:// scheme

NWJS Version : 0.41.2
Operating System : macOS 10.15

Expected behavior

node-remote in manifest is said to support URL schemes ‘http’, ‘https’, ‘file’, ‘ftp’ (here:

Actual behavior

Setting node-remote: ["file://*"] (or any other file:// URL pattern) results in the following error on application startup:

Failed to load extension from: <--location-->.
Invalid value for 'app.urls[0]': Invalid scheme.

Setting it to ["*://*"] allows the application to start, but has no effect on file:// URIs. This may be related to #6860.

How to reproduce

This is a minimal package.json that reproduces the error:

    "name": "node-remote-issue",
    "main": "index.html",
    "node-remote": [

Run nw in a directory containing this file.

Author: Fantashit

1 thought on “node-remote does not recognize file:// scheme

Comments are closed.