OfficeDev / Office-Addin-TaskPane-SSO-JS

JavaScript project template for creating an Office taskpane add-in that uses SSO,
Other
9 stars 13 forks source link

Error modifying for single host: ENOENT: no such file or directory, unlink 'CONTRIBUTING.md' #108

Open hermanwenhe opened 1 week ago

hermanwenhe commented 1 week ago

The unlink action in convertToSingleHost is not case sensitive. When trying to unlink "CONTRIBUTING.md", it fails with log:

Error: Command failed: npm run convert-to-single-host --if-present -- powerpoint Error modifying for single host: ENOENT: no such file or directory, unlink 'CONTRIBUTING.md'

at genericNodeError (node:<REDACTED: user-file-path>:984:15)
at wrappedFn (node:<REDACTED: user-file-path>:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:<REDACTED: user-file-path>:1105:16)
at ChildProcess._handle.onexit (node:<REDACTED: user-file-path>:305:5)
at Process.callbackTrampoline (node:<REDACTED: user-file-path>:130:17)
hermanwenhe commented 1 week ago

This bug will be fixed when yo-office is updated.