OfficeDev / OfficeDev/Office-Addin-Scripts
macOS: cross-device link error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 194
- Forks
- 117
- Avg merge
- 1d 32m
- Merged PRs (30d)
- 2
Description
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.
- yo office
- Select the Project Type for "Office Add-in Task Pane project using React framework " using Typescript and for MS Powerpoint
- npm start
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- Operating System: macOS Sonoma 14.7.1
- Node version: v22.11.0
- Office version: (Mac) Version 16.90.2 (24102719)
- Tool version:
Failure Logs
> office-addin-taskpane-js@0.0.1 start
> office-addin-debugging start manifest.xml
(node:39724) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Debugging is being started...
App type: desktop
The dev server is already running on port 3000.
Sideloading the Office Add-in...
Error: Unable to start debugging.
Error: Unable to sideload the Office Add-in.
Error: Unable to register the Office Add-in.
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'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with npm start using manifest.xml on macOS Sonoma and the reported Node and Office versions. Start at the office-addin-debugging start manifest.xml entry point and trace the Office Add-in registration step; done means the add-in starts and sideloads without the EXDEV cross-device-link error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, node.js, typescript
- Domain
- desktop, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100