Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Bower install fails #44

Description

@mikkotikkanen

At least at Windows machines (haven't tested with others OS, but with multiple Windows machines), the bower install fails as bower.json seems to be a symbolic link with "package.json" text within it. The symbolic link seems to break down for some reason and since the "package.json" isn't exactly valid JSON, the install aborts.

bower hideshowpassword#*                               EMALFORMED Failed to read
<temp path here>\bower.json

Additional error details:
Unexpected token p

Activity

  1. mikkotikkanen commented on Apr 19, 2016

    @mikkotikkanen
    Author

    Also, 2.0.3 seems to install correctly

  2. self-assigned this
    on Apr 19, 2016
  3. tylersticka commented on Apr 19, 2016

    @tylersticka
    Member

    Thanks, @mikkotikkanen. The package.json file is valid JSON, but it may not be a valid bower.json.

  4. tylersticka commented on Apr 19, 2016

    @tylersticka
    Member

    Hmm, seems to work fine in OS X locally:

    $ bower install hideshowpassword
    bower cached        https://github.com/cloudfour/hideShowPassword.git#2.0.10
    bower validate      2.0.10 against https://github.com/cloudfour/hideShowPassword.git#*
    bower cached        https://github.com/jquery/jquery-dist.git#2.2.3
    bower validate      2.2.3 against https://github.com/jquery/jquery-dist.git#>=1.11
    bower install       hideshowpassword#2.0.10
    bower install       jquery#2.2.3
    
    hideshowpassword#2.0.10 bower_components/hideshowpassword
    └── jquery#2.2.3
    
    jquery#2.2.3 bower_components/jquery
    

    Will attempt to troubleshoot on Windows.

  5. tylersticka commented on Apr 19, 2016

    @tylersticka
    Member

    Verified on Windows.

    The issue seems to be with the symlink. See: yeoman/yeoman#751

    Solution may be to just remove bower.json file entirely. More research needed, as our team no longer uses Bower.

  6. tylersticka commented on Apr 19, 2016

    @tylersticka
    Member

    @mikkotikkanen Thanks for reporting the issue! Should be fixed in v2.0.11 (just merged).

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

Metadata

Metadata

Assignees

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