Trying to register a package with bower - "EMALFORMED failed to read \path to file\bower.json" "Unexpected string" -



Trying to register a package with bower - "EMALFORMED failed to read \path to file\bower.json" "Unexpected string" -

i have never used bower before , trying register bundle it. have read including similar problems on so, can't tell i've gone wrong. additional error details "unexpected string".

here bower.json file:

{ "name":"one-nexus", "description":"a sensible , intuitive front end end solution.", "version":"1.1.0", "keywords":[ "css", "sass", "js", "responsive", "mobile-first", "front-end", "framework", "web", "development" ], "homepage":"http://www.onenexusproject.com/", "ignore":[ "/assets/js/jquery.min.js", "/assets/js/modernizr.min.js", ".git", ".gitattributes", ".gitignore", "bower.json", "cheatsheet.html", "index.html", "readme.md" ], "dependencies":{ "jquery: >=1.10.0", "modernizr: >=2.8.3" } }

the mutual reason problem i'm getting seems errors in json. initially, indeed there were, have since ran code through online validator , ensured code valid. other mutual reason presence of bom characters. have tried minifying code, , saving in plain old notepad in both utf-8 , ansi, nil seems work. have gone wrong?

edit: have tried countless different variations of bower.json including bare minimum needed, have tried saving file in different text editors, i've tried saving different encoding, i've tried writing code scratch, nil working - i'm still getting same error of "unexpected string". there no solutions on google or so. baffled. overlooking extremely obvious?

here image showing exact error, believe valid code on left: http://i.imgur.com/0087jtd.png

enter code herethe value of dependencies field not valid. should hash of bundle name semver compatible identifier or url. using next should prepare problem:

"dependencies":{ "jquery": ">=1.10.0", "modernizr": ">=2.8.3" }

update

the bower.json in master branch of https://github.com/esr360/one-nexus valid, bower using 1 in latest version - 1.1.0 tag - , 1 not valid (dependencies field, commas in wrong places). using valid bower.json master branch in 1.1.0 tag should solve issue.

package bower package-managers

Comments

Popular posts from this blog

php - Edges appear in image after resizing -

ios8 - iOS custom keyboard - preserve state between appearances -

Delphi change the assembly code of a running process -