You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "client" directory we have our bower.json file. We run "bower install" from the root of the project.
We have been using this same set up for over a year in some projects. It seems starting with bower 1.5.0, we started getting the error pasted below.
Downgrading to 1.4.1 fixed the issue. We were also able to replicate this on 5 different machines (4 devs + our build server).
For now we downgraded bower on our build server to 1.4.1 to get around this issue.
bower ENOENT No bower.json present
Stack trace:
Error: No bower.json present
at createError (/Users/jsolis/Sites/m-stay-checkout/node_modules/bower/lib/util/createError.js:4:15)
at /Users/jsolis/Sites/m-stay-checkout/node_modules/bower/lib/core/Project.js:54:19
From previous event:
at Project.install (/Users/jsolis/Sites/m-stay-checkout/node_modules/bower/lib/core/Project.js:88:6)
at install (/Users/jsolis/Sites/m-stay-checkout/node_modules/bower/lib/commands/install.js:26:20)
at /Users/jsolis/Sites/m-stay-checkout/node_modules/bower/lib/commands/index.js:32:28
Console trace:
Error
at StandardRenderer.error (/Users/jsolis/Sites/m-stay-checkout/node_modules/bower/lib/renderers/StandardRenderer.js:82:37)
at Logger.<anonymous> (/Users/jsolis/Sites/m-stay-checkout/node_modules/bower/bin/bower:110:22)
at Logger.emit (events.js:107:17)
at Logger.emit (/Users/jsolis/Sites/m-stay-checkout/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
at /Users/jsolis/Sites/m-stay-checkout/node_modules/bower/lib/commands/index.js:45:20
at _rejected (/Users/jsolis/Sites/m-stay-checkout/node_modules/bower/node_modules/q/q.js:844:24)
at /Users/jsolis/Sites/m-stay-checkout/node_modules/bower/node_modules/q/q.js:870:30
at Promise.when (/Users/jsolis/Sites/m-stay-checkout/node_modules/bower/node_modules/q/q.js:1122:31)
at Promise.promise.promiseDispatch (/Users/jsolis/Sites/m-stay-checkout/node_modules/bower/node_modules/q/q.js:788:41)
at /Users/jsolis/Sites/m-stay-checkout/node_modules/bower/node_modules/q/q.js:604:44
System info:
Bower version: 1.5.1
Node version: 0.12.7
OS: Darwin 14.4.0 x64
The text was updated successfully, but these errors were encountered:
We have a bunch of projects with the same bower setup.
In the root of the project, there is a .bowerrc file with "cwd" set to "client".
In the "client" directory we have our bower.json file. We run "bower install" from the root of the project.
We have been using this same set up for over a year in some projects. It seems starting with bower 1.5.0, we started getting the error pasted below.
Downgrading to 1.4.1 fixed the issue. We were also able to replicate this on 5 different machines (4 devs + our build server).
For now we downgraded bower on our build server to 1.4.1 to get around this issue.
The text was updated successfully, but these errors were encountered: