Open dstollie opened 9 years ago
Can you post your whole bower.json
? Thanks.
On Sun, Oct 11, 2015 at 6:03 AM, Dennis Stolmeijer <notifications@github.com
wrote:
When im starting meteor im just getting this error. I also tried starting meteor with "dependencies" empty but nothing helped:
=> Errors prevented startup:
While building the application: /Users/dennisstolmeijer/.meteor/packages/mquandalle_bower/.1.5.2.h5gl50++os+web.browser+web.cordova/plugin.bower.os/npm/bower/node_modules/glob/sync.js:29:11: must provide pattern (compiling bower.json) at new GlobSync (/Users/dennisstolmeijer/.meteor/packages/mquandalle_bower/.1.5.2.h5gl50++os+web.browser+web.cordova/plugin.bower.os/npm/bower/node_modules/glob/sync.js:29:11) at Function.globSync (/Users/dennisstolmeijer/.meteor/packages/mquandalle_bower/.1.5.2.h5gl50++os+web.browser+web.cordova/plugin.bower.os/npm/bower/nodemodules/glob/sync.js:24:10) at packages/bower/plugin/handler.js:129:1 at Array.map (native) at Function..map..collect (packages/underscore/underscore.js:123:1) at matches (packages/bower/plugin/handler.js:128:1) at packages/bower/plugin/handler.js:132:1 at Array.forEach (native) at Function..each._.forEach (packages/underscore/underscore.js:105:1) at bowerHandler (packages/bower/plugin/handler.js:94:1) at Package (packages/bower/plugin/handler.js:254:1)
— Reply to this email directly or view it on GitHub https://github.com/mquandalle/meteor-bower/issues/102.
I am also getting this error. My bower.json is below. I solved the issue by removing the "main": "" property.
{
"name": "test",
"version": "0.0.0",
"authors": [
"Dannie F"
],
"description": "test (Meteor POC)",
"main": "",
"moduleType": [],
"license": "MIT",
"homepage": "",
"private": true,
"dependencies": {
"quagga": "~0.7.0"
},
"overrides": {
"quagga": {
"arch": [ "client" ]
}
}
}
I think someone came to ask me about a similar error at the Meteor Hackathon
Is the issue fixed by the new version 1.5.2_1
?
the issue is still happening with version 1.5.2_1
and bower 1.7.2
.
=> Errors prevented startup:
While building the application:
/Users/macbook-pro/.meteor/packages/mquandalle_bower/.1.5.2_1.k5u5ht++os+web.browser+web.cordova/plugin.bower.os/npm/bower/node_modules/glob/sync.js:29:11: must provide pattern
(compiling bower.json)
at new GlobSync (/Users/macbook-pro/.meteor/packages/mquandalle_bower/.1.5.2_1.k5u5ht++os+web.browser+web.cordova/plugin.bower.os/npm/bower/node_modules/glob/sync.js:29:11)
at Function.globSync
(/Users/macbook-pro/.meteor/packages/mquandalle_bower/.1.5.2_1.k5u5ht++os+web.browser+web.cordova/plugin.bower.os/npm/bower/node_modules/glob/sync.js:24:10)
at packages/bower/plugin/handler.js:129:1
at Array.map (native)
at Function._.map._.collect (packages/underscore/packages/underscore.js:152:1)
at matches (packages/bower/plugin/handler.js:128:1)
at packages/bower/plugin/handler.js:132:1
at Array.forEach (native)
at Function._.each._.forEach (packages/underscore/packages/underscore.js:134:1)
at bowerHandler (packages/bower/plugin/handler.js:94:1)
at Package (packages/bower/plugin/handler.js:262:1)
I also got this error and was also able to resolve it by removing the "main": "" property generated by bower init.
Same here... i removed the "main": "" and it works ...
When im starting meteor im just getting this error. I also tried starting meteor with "dependencies" empty but nothing helped: