However, I'm getting an error when it comes to packaging the appx file. It says that The filename, directory name, or volume label syntax is incorrect, but doesn't specify which file is problematic. Below is an excerpt of the output with the error message:
You need at least Node 4.x to run this script
Configuration:
Desktop Converter Location: false
Expanded Base Image: false
Publisher: CN=<id-number>
Dev Certificate: C:\Users\...\<id-number>.pfx
Windows Kit Location: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
Starting Conversion...
Cleaning pre-appx output folder...
Copying data...
Creating manifest..
Creating appx package...
Processing "\\?\C:\Users\<user>\...\pre-appx\app\resources\app\node_modules\path-parse\test.js" as a payload file. Its path in the package will be "app\resources\app\node_modules\path-parse\test.js".
... <many more lines about processing files> ...
MakeAppx : error: Package creation failed.
MakeAppx : error: 0x8007007b - The filename, directory name, or volume label syntax is incorrect.
Error: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\makeappx.exe exited with code: 1
at ChildProcess.child.on (C:\Users\<user>\AppData\Roaming\npm\node_modules\electron-windows-store\lib\utils.js:74:23)
at ChildProcess.emit (events.js:189:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
Error: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\makeappx.exe exited with code: 1
at ChildProcess.child.on (C:\Users\<user>\AppData\Roaming\npm\node_modules\electron-windows-store\lib\utils.js:74:23)
at ChildProcess.emit (events.js:189:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
Hey team,
I've started a project using
electron-forge
with Node v10.15.1 and I'm trying to build anappx
package like this:However, I'm getting an error when it comes to packaging the appx file. It says that
The filename, directory name, or volume label syntax is incorrect
, but doesn't specify which file is problematic. Below is an excerpt of the output with the error message:Any ideas what's causing this and how to debug?