OfficeDev / Office-Addin-TaskPane

Template to get started writing a TaskPane Office Add-in.
Other
75 stars 44 forks source link

convert-to-single-host failed with "Error modifying for single host: ENOENT: no such file or directory, unlink 'CONTRIBUTING.md'" #270

Closed hermanwenhe closed 2 months ago

hermanwenhe commented 2 months ago

After the Dev Kit released. We're checking the telemetry of "create new add-in" event and found this bug.

Below is the logic in Dev Kit. Basically it's the same as yo office, which download the templates and unzip it, and then run npm run convert-to-single-host --if-present -- ${officeHostApp.toLowerCase()} image

We got 7 failures out of 102 total creation with error log like this. image

Seems like the "CONTRIBUTING.md" file is missing in certain repo. I don't know which specific template it comes from, so I just create a bug here. I will try to find which template caused these bugs.

hermanwenhe commented 2 months ago

This error exists in sso js/ts repo. Will close this issue open new one in the right repo.

hermanwenhe commented 2 months ago

New issue: https://github.com/OfficeDev/Office-Addin-Taskpane-SSO/issues/122 https://github.com/OfficeDev/Office-Addin-TaskPane-SSO-JS/issues/108