There's a problem in NW.js

When I trying to nwbuild in Manjaro linux,
below problem is happening.

TypeError: Cannot read properties of undefined (reading ‘replace’)
at Object.parse (file:///usr/lib/node_modules/nw-builder/src/util.js:206:39)
at nwbuild (file:///usr/lib/node_modules/nw-builder/src/index.js:46:26)
at file:///usr/lib/node_modules/nw-builder/src/cli.js:28:1
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:482:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)
file:///usr/lib/node_modules/nw-builder/src/util.js:206
options.app.name = options.app.name.replace(/[<>:"/\|?*\u0000-\u001F]/g, ‘’);
TypeError: Cannot read properties of undefined (reading ‘replace’)
at Object.parse (file:///usr/lib/node_modules/nw-builder/src/util.js:206:39)
at nwbuild (file:///usr/lib/node_modules/nw-builder/src/index.js:46:26)
at file:///usr/lib/node_modules/nw-builder/src/cli.js:28:1
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:482:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)
Node.js v22.8.0

Can someone tell me about this problem?
Thank you.

Hello @NeronNard :wink:

There is a problem with your script. The compiler throws an error because it cannot read/interpret the instruction. It is not a problem of the package.

Note: Topic was moved to AUR since it is not an official package maintained by the Manajro Team.

I think, I need to check the script right now.
Thank you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.