chevdor / generator-chocolatey

This yeoman generator allows you to generate a chocolatey package in no time. Simply answer the few questions!
MIT License
5 stars 2 forks source link

Throw e #8

Open jmbeach opened 7 years ago

jmbeach commented 7 years ago

Not working for me.

Error:

C:\Users\jared.beach\AppData\Roaming\npm\node_modules\yo\node_modules\rx\dist\rx.js:77
    throw e;
    ^
true

yo version: 1.8.4

chevdor commented 7 years ago

Hello @jmbeach Can you elaborate on what is not working for the you? Is it the install? Is it when you run a command? Could you provide the command you ran?

jmbeach commented 7 years ago

Sorry. That was after running yo chocolatey and filling out the prompts

chevdor commented 7 years ago

OK clear. I am spinning up a windows box, I will have a look to see if I get the same issue.

chevdor commented 7 years ago

OK, I can reproduce the issue on a Windows machine (yo 1.8.4) and not on a Mac (yo 1.7.0). The issue seems to occur right after:
What is the version of the package? (0.1.0.0)

I don´t think the issue comes from the generator itself. See https://github.com/yeoman/yo/issues/285

The suggested fix is to run: npm i -g yo

This fix does not seem to fix the issue however.

chevdor commented 7 years ago

Same issue on Mac after upgrading yo to 1.8.4. So there seem to be an issue in yo between 1.7.0 and 1.8.3 (which fails as well).

chevdor commented 7 years ago

The issue is related to an API change. I will have to look into that. I can now reproduce on OSX as well.