generator-office icon indicating copy to clipboard operation
generator-office copied to clipboard

Certificatin installation not prompt after npm run, also can't find ca.crt in project root

Open Snailya opened this issue 2 years ago • 1 comments

Expected behavior

Prompt to install certificate when run npm start the first time. Or provide ca.crt in {project root}/certs to allow mannually installation.

Current behavior

Please provide information about the failure. What is the current behavior? If it is not a bug, please add it to UserVoice, so that it gets added to our feature roadmap.

Neither installation prompted. Nor certs folder in project root. image image

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. yo office --projectType react --name "My Office Add-in" --host excel --ts true
  2. npm run 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: Windows 11
  • Node version: 16.15.1
  • Office version: office mono 2016
  • Tool version:

Failure Logs

Please include any relevant log snippets, screenshots or code samples here.

Snailya avatar Jun 24 '22 08:06 Snailya

The cert file is not added to the project, it's placed in your user profile folder under ".office-addin-dev-certs" folder and once you have approved it once it won't prompt you again until the cert expires (by default that is a couple of months).

millerds avatar Jun 24 '22 17:06 millerds