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

Unable to install package due to peer dependency on cmd-shim #699

Closed samarthbharti217 closed 2 years ago

samarthbharti217 commented 2 years ago

Expected behavior

Successfully install package

Current behavior

Currently package install fails with below error npm ERR! 404 'cmd-shim@^5.0.0' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

Raised this with cmd-shim as well, here: https://github.com/npm/cmd-shim/issues/62

Steps to Reproduce

  1. npm i yo generator-office --save-dev

Context

Failure Logs

npm ERR! 404 'cmd-shim@^5.0.0' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

millerds commented 2 years ago

Can you try installing 'yo' seperately from 'generator-office' to figure out which one is throwing the error?

samarthbharti217 commented 2 years ago

It's an issue with Yo, able to install generator-office

millerds commented 2 years ago

If that's the case then you'll have to follow with yeoman generator. 'generator-office' is a plugin for that framework.

Rick-Kirkham commented 2 years ago

@samarthbharti217 see support for Yeoman generator