Bower package not downloading #593

Closed
opened 2017-03-13 16:26:57 +00:00 by afboteros · 2 comments
afboteros commented 2017-03-13 16:26:57 +00:00 (Migrated from github.com)

Hi,

When i download the package with bower, it prints the following message at the end of the log:
bower no-json No bower.json file to save to, use bower init to create one

And the library does not download, any idea?

Thanks.

Hi, When i download the package with bower, it prints the following message at the end of the log: ```bower no-json No bower.json file to save to, use bower init to create one``` And the library does not download, any idea? Thanks.
SheetJSDev commented 2017-03-13 16:50:35 +00:00 (Migrated from github.com)

@afboteros can you share the log and check the version of bower you are using?

I just tested and I don't see that error:

$ mkdir bower
$ cd bower
$ bower --version
1.8.0
$ bower install js-xlsx
bower cached        https://github.com/SheetJS/js-xlsx.git#0.8.5
bower validate      0.8.5 against https://github.com/SheetJS/js-xlsx.git#*
bower new           version for https://github.com/SheetJS/js-xlsx.git#*
bower resolve       https://github.com/SheetJS/js-xlsx.git#*
bower download      https://github.com/SheetJS/js-xlsx/archive/v0.9.2.tar.gz
bower extract       js-xlsx#* archive.tar.gz
bower invalid-meta  for:/var/folders/3f/_z19jytd3xg5nnbmr8qg0w_00000gn/T/foobar/bower/8d63ef64e2b12f5b0d8616fa7e1b8597-74555-cvUw16/bower.json
bower invalid-meta  The "main" field cannot contain minified files
bower resolved      https://github.com/SheetJS/js-xlsx.git#0.9.2
bower install       js-xlsx#0.9.2

@afboteros can you share the log and check the version of bower you are using? I just tested and I don't see that error: ```bash $ mkdir bower $ cd bower $ bower --version 1.8.0 $ bower install js-xlsx bower cached https://github.com/SheetJS/js-xlsx.git#0.8.5 bower validate 0.8.5 against https://github.com/SheetJS/js-xlsx.git#* bower new version for https://github.com/SheetJS/js-xlsx.git#* bower resolve https://github.com/SheetJS/js-xlsx.git#* bower download https://github.com/SheetJS/js-xlsx/archive/v0.9.2.tar.gz bower extract js-xlsx#* archive.tar.gz bower invalid-meta for:/var/folders/3f/_z19jytd3xg5nnbmr8qg0w_00000gn/T/foobar/bower/8d63ef64e2b12f5b0d8616fa7e1b8597-74555-cvUw16/bower.json bower invalid-meta The "main" field cannot contain minified files bower resolved https://github.com/SheetJS/js-xlsx.git#0.9.2 bower install js-xlsx#0.9.2 ```
afboteros commented 2017-03-13 16:53:55 +00:00 (Migrated from github.com)

Sorry, i was running bower command with --save in a folder without bower.json, it's working ok. Thanks.

Sorry, i was running bower command with --save in a folder without bower.json, it's working ok. Thanks.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#593
No description provided.