FountainJS / generator-fountain-webapp

Yeoman 'fountain' generator to start a webapp
http://fountainjs.io
MIT License
963 stars 67 forks source link

Upgrading generator fails #189

Closed ashiquemohammed closed 7 years ago

ashiquemohammed commented 7 years ago

Description

Starting of with Angular1 + Webpack , I find an issue with sass-loader on the version: 1.0.0-rc1. I try to upgrade the generator by running the yo command . Below is what I during upgrade

Error Message & Stack Trace

bash-3.2$ yo                                                                                                                         
? 'Allo Ashique! What would you like to do? Update your generators                                                                   
? Generators to update generator-fountain-webapp                                                                                     
/Users/ashique/.nvm/versions/node/v7.5.0/lib                                                                                         
└── generator-fountain-webapp@1.0.0                                                                                                  

I've just updated your generators. Remember, you can update                                                                          
a specific generator with npm by running:                                                                                            

    npm install -g generator-_______

Config

  "generator-fountain-angular1": {
    "version": "1.0.0-rc1",
    "props": {
      "framework": "angular1",
      "modules": "webpack",
      "js": "js",
      "ci": [],
      "css": "scss",
      "resolved": "/usr/local/lib/node_modules/generator-fountain-webapp/node_modules/generator-fountain-angular1/generators/app/index.js",
      "namespace": "fountain-angular1",
      "argv": {
        "remain": [],
        "cooked": [],
        "original": []
      },
      "sample": "techs",
      "router": "uirouter"
    }
  }
}

I dont understand why upgrading generator does not update the .yo-rc.json file.

Environment

Node : v7.5.0
NPM: 4.1.2
yo:1.8.5
zckrs commented 7 years ago

No issue here. You should rerun generator after update.

And IF issue happens with yo you are un thé wrong repo. Next time go to https://github.com/yeoman/yo Next time don't spam me on Twitter.

ashiquemohammed commented 7 years ago

Sorry!!.