You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the author field in your package.json file contains an @ (usually in an email address), or you set the authors config option to a value that contains an @ character, running the Windows installer will fail with:
Error:
The '@' character, hexadecimal value 0x40, cannot be included in a name. Line 1, position 40.
Error: Failed with exit code: 1
Having @ in the owners and copyright options (by default, those options use authors) appears to be fine.
Solution
Strip out the @ from metadata.authors before writing the nuspec file.
Make sure it doesn't affect the owners or copyright default options (as the bug doesn't affect those fields for some reason).
Write tests to make sure the above points are followed (only need to check the nuspec file contents, don't need to run through the entire installer process)
The text was updated successfully, but these errors were encountered:
Problem
If the
author
field in yourpackage.json
file contains an@
(usually in an email address), or you set theauthors
config option to a value that contains an@
character, running the Windows installer will fail with:Error:
Having
@
in theowners
andcopyright
options (by default, those options useauthors
) appears to be fine.Solution
@
frommetadata.authors
before writing thenuspec
file.owners
orcopyright
default options (as the bug doesn't affect those fields for some reason).The text was updated successfully, but these errors were encountered: