Giter Site home page Giter Site logo

Comments (6)

quantuminformation avatar quantuminformation commented on May 26, 2024

Also when I ran:
ember github-pages:commit --message "Initial gh-pages release"
I got this:
The specified command github-pages:commit is invalid. For available options, see ember help.

from ember-cli-github-pages.

alekspetrov avatar alekspetrov commented on May 26, 2024

I've got the same issue!

from ember-cli-github-pages.

quantuminformation avatar quantuminformation commented on May 26, 2024

I tried on a different 0.2.5 project and have the same error again:

The specified command github-pages:commit is invalid. For available options, seeember help.

from ember-cli-github-pages.

quantuminformation avatar quantuminformation commented on May 26, 2024

Anyone know what the cause if this is? Is it a simplish fix?

from ember-cli-github-pages.

mike-north avatar mike-north commented on May 26, 2024

@quantuminformation when you run

ember help

do you see something like this?
screen shot 2015-06-06 at 2 07 06 pm

If not, I suggest

npm uninstall ember-cli-github-pages --save-dev
ember install [email protected].*

from ember-cli-github-pages.

jhr007 avatar jhr007 commented on May 26, 2024

The specified command github-pages:commit is invalid. For available options, see ember help.

When I got this message it was because ember-cli didn't see the addon in the package.json['devDependencies'] despite it existing in node_modules. Probably an npm install without --save-dev on my part, or the error below stopped npm from writing to package.json (not sure on this last part)

As truenorth said uninstall then ember install. Or manually add to package.json.

The benefit of ember install some-addon is that it runs the default blueprint for that addon which usually includes some prep from the addon.

The ember generate command requires an entity name to be specified. For more details, use ember help.

Ember-cli's install command runs the addon's default blueprint. If the blueprint doesn't have an override for normalizeEntityName, ember-cli is expecting a name, but ember install doesn't provide one. Think ember generate controller some-name but some-name is never passed by ember install.

from ember-cli-github-pages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.