Coder Social home page Coder Social logo

Comments (6)

rosstimson avatar rosstimson commented on July 28, 2024

After a little more reading up it looks like Bower needs the change and then the version bumped / tagged in Git.

I'll not fork and send a PR for such a tiny change unless you'd prefer me to.

from responsive-nav.js.

philwareham avatar philwareham commented on July 28, 2024

Shouldn't the name be "responsive-nav" instead of "responsive-js" - that's the name the package is registered with in the Bower registry?

from responsive-nav.js.

rosstimson avatar rosstimson commented on July 28, 2024

Doh, well spotted. Unfortunately I think I just typed that up by hand (cut 'n' paste from rxvt was get mangled) so it is just a typo rather than the real issue.

Just tried a new test as it was a while since I was trying this, still the same result:

$ bower install responsive-nav -save
bower cloning git://github.com/viljamis/responsive-nav.js.git
bower caching git://github.com/viljamis/responsive-nav.js.git
bower fetching responsive-nav
bower checking out responsive-nav#1.0.14
bower error Failed to parse json
Unexpected token ]

There were errors, here's a summary of them:
- responsive-nav Failed to parse json
Unexpected token ]
An error was caught when reading the bower.json: Failed to parse json
Unexpected token ]

from responsive-nav.js.

philwareham avatar philwareham commented on July 28, 2024

The name is incorrect in the repo bower.json file, not just your example. I can't see any other problem with the file apart from that. I can't get the package to install via bower and I assume it's because of that name error (the bower registry expects a name of "responsive-nav").

from responsive-nav.js.

rosstimson avatar rosstimson commented on July 28, 2024

Cool, I see you fixed this in a PR. I still suspect that a new version needs to be tagged in Git for Bower to install (currently gives same error) but I'll close this issue as the crux of the issue is fixed.

from responsive-nav.js.

arielsalminen avatar arielsalminen commented on July 28, 2024

I’ll add a new tag once back at the office! :)

from responsive-nav.js.

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.