Skip to content

Syntax error in example bower.json #707

Description

@claudiopro

There's a syntax error in the bower.json snippet in the Install with Bower section of the docs. If you copy / paste the example:

{
  "name": "my-project",
  "version": "0.0.0",
  "dependencies": {
    "polymer": "Polymer/polymer#~0.3.5", //<-- trailing comma
  }
}

Bower will throw an error:

$ bower install --save
bower                       EMALFORMED Failed to read bower.json

Additional error details:
Unexpected token }

Activity

  1. tjsavage commented on Aug 14, 2014

    @tjsavage
    Contributor

    auto-moving this issue to Polymer/old-docs-site#602 and closing this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions