Questions tagged [bower]
Bower is a package manager for the web. Bower lets you easily install assets such as images, CSS and JavaScript, and manages dependencies for you.
3,165
questions
0
votes
0
answers
20
views
Bower to Npm Migration
I have an old project that is using Bower and Npm toghether. Currently trying to get rid of Bower but I'm stuck.
The project has a postscript in package.json where it was running "bower install&...
0
votes
0
answers
140
views
When I am doing bower install I am getting error
When I am doing bower install i am getting error like
bower bootstrap-tagsinput#~0.7.1 ENORESTARGET No tag found that was able to satisfy ~0.7.1
Additional error details:
No versions found in https://...
0
votes
0
answers
28
views
AngularJS v1.3.5 - Page reloads twice on route change after npm install
I am facing an issue with AngularJS version 1.3.5 in my project. After performing an npm install with recent changes, I noticed that whenever there is a route change on my AngularJS page, the page ...
2
votes
0
answers
84
views
Is there a way to see Bower components vulnerability like npm audit report?
I'm trying to find out if theres a way to get a vulnerability repot of all bower packages, like when you run npm audit and you get a full report of vulnerable dependencies.
If anyone knows it, that ...
0
votes
0
answers
14
views
Updatation regarding moment bower components
Currently in my project the Moment.js version is 2.5
I want to upgrade it to the latest one i.e version 2.29
I tried to copy and replace the full code of Moment.js but still tools shows its version is ...
0
votes
0
answers
16
views
Bower install requiring multiple logins on cli
I am feeling more comfortable using composer. In my dependencies block, I have packages from private and public packages. So with the appropiate URLs, I can download the packages from both locations. ...
7
votes
7
answers
10k
views
How to refresh bower package certificate?
While building a docker container, I came across this error
Step 6/17 : RUN bower install --allow-root ---> Running in 20f9229dcd1e bower angular-touch#~1.5.0 CERT_HAS_EXPIRED Request to https://...
0
votes
0
answers
53
views
Bower installation not working: could not read Username for 'https://github.com': No such file or directory
I am trying to install a bower package with the following command:
bower install theborakompanioni/angular-chessboard --save
When I run the command, I get the following message:
bower ...
2
votes
1
answer
76
views
bower fails with Repository not found
In the project there is package.json and bower.json with this content:
{
"name": "project-name",
"dependencies": {
"paho-mqtt": "*"
}
}
...
0
votes
0
answers
121
views
UNABLE_TO_GET_ISSUER_CERT_LOCALLY while trying to install Bower
I am trying to install bower according to the material provided by Microsoft for their azure extensions widgets sample (https://github.com/microsoft/vsts-extension-samples).
Here's what the bower.json ...
0
votes
0
answers
31
views
Bower component are not created on mvn command
My bower_component are not created. I have one dev profile inside my pom.xml file and when I execute the command mvn clean install -P dev I get error Warning: Unable to read "C:\test-widgets\...
2
votes
4
answers
2k
views
Property left of ForInStatement expected node to be of a type ["VariableDeclaration","LVal"] but instead got undefined Use --force to continue
I have a big problem. We use angular.js application and maven to build our application.Previosly everyhing worked when we build our application with bower.json.
And from yesterday we got this error
...
1
vote
1
answer
980
views
How can I fix the error "ECMDERR Failed to execute "git ls-remote --tags --heads exit code of #128" when running bower install on GitLab CI?
I'm installing dependencies using bower in an older project. When running bower install on gitlab ci I get the following error:
ECMDERR Failed to execute "git ls-remote --tags --heads https://...
0
votes
1
answer
124
views
What does Rails DSL configuration mean and what does a DSL configuration look like?
I have the following Bower file:
group :vendor, assets_path: 'assets/shop' do
asset 'jquery', '2.2.1'
asset 'lodash', '4.6.1'
...
end
Now I see the output in the folder vendor/assets/shop, ...
1
vote
0
answers
172
views
Migrating ngFileSaver from bower to node package breaks
I have an Angular 1.6 project which did build using:
node 10.16.0
bower 1.8.14
gulp 3.9.1
and with the command sequence:
npm install
bower install
gulp
It now breaks at the bower install step with ...
0
votes
1
answer
37
views
How to provide option object for main yarn files?
I have migrated a project from Bower and NPM to Yarn. When implementing the mainYarnFiles library (previous incarnation of the project used mainBowerFiles) this code (executed in gulp.js):
var ...
0
votes
2
answers
384
views
bower build failing to execute git ls
I have a bower install build step which throws an error for this file:
bower file-saver.js#~1.20150507.2
Error:
ECMDERR Failed to execute "git ls-remote --tags --heads
https://github.com/...
3
votes
2
answers
1k
views
angular-file-saver is not installed
Hi All Experts of Angularjs
I am using bower install for my angular project
"file-saver.js": "^1.20150507.2",
"angular-file-saver": "^1.1.3",
I am getting ...
0
votes
1
answer
1k
views
Updating Composer on Yii2 - Missing dependencies
I had to backup the whole application to move it into another server, after setting up all the requirements I tried running "composer update" and I found a couple of problems I'm not being ...
0
votes
1
answer
667
views
Bower unable to install [email protected] [duplicate]
We have an old ember app has bower.json with below configuration:
{
"name": "my-app",
"dependencies": {
"Faker": "~3.1.0"
}
}
It has been ...
0
votes
2
answers
54
views
Integrate JavaScript project to an existing ReactJS project
I want to integrate this repo to my existing react.js project https://github.com/zoltan-dulac/Matrix-Construction-Set
. The Matrix-Construction-Set project has lots of Javascript files and some bower ...
1
vote
0
answers
28
views
how to shift from bower component to node module
Currently I am using angular 1 with bower component, mostly of the libraries I am using from bower . I want to transfer my all libraries from bower to node module . please guide me how can i do ...
1
vote
0
answers
77
views
How to I can publish a package to Bower
I have just complete a package js, and now I try published it to Bower but it failed. I got a message:
bower angularjs-list-view#* resolve https://github.com/ch91/angularjs-list-view.git#*
bower ...
1
vote
1
answer
107
views
$(this) undefined via requirejs on bower and node
I am trying to develop an app with a modular approach using requirejs and include only as little jQuery code as possible as necessary. I have a basic SPA app o.html:
<!doctype html>
<html ...
0
votes
1
answer
395
views
Rails Heroku Deployment Error: Precompiling assets failed – Sprockets::FileNotFound: couldn't find file 'angular' with type 'application/javascript'
My app works locally, however when I try to deploy to Heroku, I get a Sprockets::FileNotFound: couldn't find file 'angular' with type 'application/javascript' error.
I have tried precompiling with ...
0
votes
1
answer
311
views
bootstrap-sweetalert with requireJS displays alertbox "Not valid"
I install bootstrap-sweetalert to my webapp through bower with -> $ bower install bootstrap-sweetalert <- and configure the requireConfig.js to make require listen to "sweetalert". ...
1
vote
0
answers
84
views
leaflet map is not showing using requirejs
I have:
inside bower.json:
"leaflet": "https://github.com/Leaflet/Leaflet.git#^1.7.1"
inside typings.json:
"leaflet": "registry:dt/leaflet#1.0.0+20170324151803"...
2
votes
1
answer
468
views
.Net core bower_components folder missing in wwwroot directory
I have fresh .Net core web app and it's source code uploaded first time on production server with CICD of the same. It went successfully but when I run the web app, the UI and js files were missing. ...
2
votes
0
answers
59
views
Error while moving bower to npm in ember project
I was trying to move all the bower packages as npm packages as part of our ember upgrade process.
Updated cli from 3.0.0 to 3.22 successfully.
While trying to move sweetalert2 from bower to npm using ...
2
votes
0
answers
157
views
Gulp-bower throws error 'calling transform done when ws.length != 0'
During Gulp build I sometimes get the error 'calling transform done when ws.length != 0' and the stack traces gives path node_modules\gulp-bower\node_modules\readable-stream\lib_stream_transform.js:...
2
votes
1
answer
9k
views
Error: Node Sass Not Supported in Current Environment
Gulping had been working just fine until this morning. I don't know what I should install, update or uninstall to get my local environment to work again. Config: Catalina 10.15.7 Node 15.0.1 Gulp CLI ...
4
votes
1
answer
2k
views
bower ENORESTARGET No tag found issue
I'm having a problem with installing bower bootstrap material design dependencies, that dependencies installing failed for me on bootstrap material design version 0.5.10 , it shows a ENORESTARGET No ...
0
votes
0
answers
238
views
bower install - Cannot find module 'tough-cookie'
I am getting an error and I don't know what to make of it. I'm clone a project then run
npm install. There is no problem but when i run bower install i am getting this error. How can i fix this?
0
votes
2
answers
606
views
bower install does not create folder with packages even though it is set up with .bowerrc (Mac)
I am trying to set up an existing UI project on my mac machine using npm & bower. The project has proper bower.json and .bowerrc files. I run npm install followed by bower install. The expectation ...
0
votes
1
answer
380
views
Impossible to run bower install with docker and angularjs
When my DockerFile try to run
bower install --allow-root
I have these errors in the output:
bower malarkey#~1.3.1 invalid-meta for:/tmp/54d5301ca4ac8eed08df9f9e0be95204/bower/...
0
votes
1
answer
518
views
Kahoot Clone Deploy on FireBase
I am trying to create a trivia web app and deploy it to firebase. I tried to follow all the steps from https://medium.com/@rotemtam/build-a-kahoot-clone-with-angularjs-and-firebase-b8b30891d968 but at ...
0
votes
1
answer
57
views
Node.js project: can't setup bower
I try to setup a nodejs project called "docdoku-web-front" and i have dependencies problems on bower.
When i try to install my project with the command: npm run dev, i have this errors:
...
1
vote
0
answers
117
views
grunt + bower task gives fatal error: Unexpected token {
I know these are too old environments but still using..
When I run grunt, the fatal error happens.
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module....
1
vote
1
answer
960
views
Is 'Bower package management system' is now obsolete? What are the replacement of Bower (static content manager for client-site Web App)?
I am using 'Visual Studio 2019' and doing an 'ASP.NET Core 3.1' project. I was going to use
Bower package management system.
for my project. But then I saw that isn't included in the templates. ...
0
votes
1
answer
135
views
How to resolve this error in a Karma unit test, running on Jenkins: "Can't find variable: jQuery"
I have added the ui-sortable library to an AngularJS project, to implement drag and drop functionality on an unordered list. The project uses bower to manage the UI libraries, and bower.json includes ...
0
votes
0
answers
484
views
Issues installing private npm packages
I have a project with dependency on some private repo (fontawesome) for which our org has taken a license
While all the other packages are installed via our internal registry, the fontawesome ...
0
votes
0
answers
233
views
Uncaught Error: [$injector:modulerr] Error: [$injector:unpr] Unknown provider: config
I am new with angularJS, got an old project,
The error is in the jquery.js file, every place when using "config" not compile, why?
Uncaught Error: [$injector:modulerr] Failed to instantiate module ...
3
votes
0
answers
371
views
Why am I receiving the message: Incompatible: User Bower Instead when installing JQuery 3.5.1 in VS2019
When attempting to install the Jquery packages via NuGet, I receive the message Incompatible: Use Bower instead. Bower is deprecated. This was a bug in VS2017 and was reported as fixed. It has ...
3
votes
1
answer
540
views
nexus bower registry download to a wrong place
I have setup a nexus proxy registry for bower. I am using Debian 9.
bower version is 1.8.8, installed bower-nexus3-resolver (version 1.0.4).
My .bowerrc is like this:
{
"directory": "components",
...
2
votes
1
answer
1k
views
Unable to view highcharts in my yii2 project
I have installed the highcharts package in my project. Now I am trying to view a sample chart but I am getting an error.
use miloschuman\highcharts\Highcharts;
<?=
Highcharts::widget([
'...
0
votes
1
answer
159
views
How can I replace the bower package jsTimezoneDetect in npm
I am trying to replace bower in my repo and I am having trouble replacing this package: "jsTimezoneDetect": "1.0.4". The suggested package to replace this is "jstimezonedetect": "^1.0.6". I am using ...
0
votes
1
answer
326
views
bash: bower: command not found with NVM
I use nvm and I have McAfee with Windows 10 (so my C:\Users\User\AppData\Roaming\nvm\v8.9.2\node_modules\npm\node_modules is empty at the beginning, so I copy/paste manualy all node_modules (with ...
2
votes
0
answers
63
views
Bower:copy primordials is not defined
I am getting this issue when i run mvn appengine:update. Anyone know what could be causing this problem?
-2
votes
1
answer
194
views
How de find bower version?
Incredible, I can't handle how to find bower version. Is a comand exist?
I tried to find a command first, secondly, un file showing the version whitout success.
Thank you in advance for your help.
2
votes
1
answer
4k
views
Grunt Serve stopped working with cdnify load error
I am facing error with fresh installed Angular when I run grunt serve command I get
I am using Node 12.6.1 with Source Tree and verified that bower is installed
Loading "cdnify.js" tasks...ERROR
&...