Open Abhijit-Revamp opened 1 week ago
This is happening because the script is trying to rename a file across "device" (partition) boundaries. this is across linux / macOS etc.
if your adding root folder is on different partition than the /Users partition.
the issue lies in the function "registerAddIn" in file https://github.com/OfficeDev/Office-Addin-Scripts/blob/master/packages/office-addin-dev-settings/src/dev-settings-mac.ts
In this function, there is a call to "ensureLinkSync" which throws up.
See more details at https://stackoverflow.com/questions/43206198/what-does-the-exdev-cross-device-link-not-permitted-error-mean https://stackoverflow.com/questions/37153666/error-exdev-cross-device-link-not-permitted-rename-tmp-on-ubuntu-16-04-lts/44146825#44146825
Expected behavior
I wanted to run the add-in tutorial for Powerpoint as per the documentation https://learn.microsoft.com/en-us/office/dev/add-ins/tutorials/powerpoint-tutorial?tabs=yeomangenerator
Current behavior
Every time I try to usenpm run, I get this error Error:
Error: EXDEV: cross-device link not permitted, link 'manifest.xml' -> '/Users/xyz/Library/Containers/com.microsoft.Powerpoint/Data/Documents/wef/55452cba-b567-4ad6-b9c6-cb08bdf7fc15.manifest.xml'
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs