OfficeDev / Office-Addin-Taskpane-SSO

Project template for creating an Office taskpane add-in that uses SSO,
Other
15 stars 16 forks source link

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

Closed hermanwenhe closed 3 weeks ago

hermanwenhe commented 1 month 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)

This bug can also repo in https://github.com/OfficeDev/Office-Addin-TaskPane-SSO-JS