OfficeDev / OfficeDev/Office-Addin-Scripts

macOS: cross-device link error

Open
#903 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs triage
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.

  1. yo office
  2. Select the Project Type for "Office Add-in Task Pane project using React framework " using Typescript and for MS Powerpoint
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.