OfficeDev / generator-office

Yeoman generator for building Microsoft Office related projects.
https://www.npmjs.com/package/generator-office
MIT License
825 stars 208 forks source link

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

Closed Snailya closed 1 year ago

Snailya commented 2 years ago

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.

Failure Logs

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

millerds commented 2 years ago

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).