Skip to content

React Task Pane not working #863

@edmcman

Description

@edmcman

Expected behavior

I expected a project to be created.

Current behavior

The generator fails to produce a project.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Run yo office
  2. Select "Office Add-in Task Pane project using React framework"
  3. Select "Typescript"
  4. Enter Quoter
  5. Select "Outlook"
  6. Select "Unified manifest for Microsoft 365"

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: Ubuntu 22.04.5
  • Node version: 22.15.0
  • Office version: NA
  • Tool version: generator-office@3.0.1

Failure Logs

ed@banana ~/P/outlook-reply-quote> yo office

     _-----_     ╭──────────────────────────╮
    |       |    │   Welcome to the Office  │
    |--(o)--|    │   Add-in generator, by   │
   `---------´   │ @OfficeDev! Let's create │
    ( _´U`_ )    │    a project together!   │
    /___A___\   /╰──────────────────────────╯
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

? Choose a project type: Office Add-in Task Pane project using
 React framework
? Choose a script type: TypeScript
? What do you want to name your add-in? Quoter
? Which Office client application would you like to support? 
Outlook
? Which manifest type would you like to use? Unified manifest 
for Microsoft 365

----------------------------------------------------------------------------------

      Creating Quoter add-in for Outlook
      using TypeScript and Office Add-in Task Pane project using React framework and Unified manifest for Microsoft 365
      at /home/ed/Projects/outlook-reply-quote/Quoter

----------------------------------------------------------------------------------
(node:1574784) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
   create Quoter/package.json

> office-addin-taskpane-react@0.0.1 convert-to-single-host
> node convertToSingleHost.js outlook json Quoter

Error modifying for single host: ENOENT: no such file or directory, open './src/taskpane/Outlook.ts'
✖️ An error occured while running office:app#install
Error office 

Command failed with exit code 1: npm run convert-to-single-host --if-present -- outlook json Quoter

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions