Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: 0x8007007b - The filename, directory name, or volume label syntax is incorrect #115

Open
geo-systems opened this issue Feb 19, 2019 · 0 comments

Comments

@geo-systems
Copy link

geo-systems commented Feb 19, 2019

Hey team,

I've started a project using electron-forge with Node v10.15.1 and I'm trying to build an appx package like this:

electron-windows-store `
     --input-directory "<path-to-build>" `
     --output-directory "<path-to-appx-destination>" `
     --package-version 0.1.0.11 `
     --package-name "<myapp>" `

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)

Any ideas what's causing this and how to debug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant