3,157
questions
0
votes
0
answers
17
views
Why vendor.css is not added during gulp tasks?
I am expecting vendor.css and main.css to be attached during all my gulp operations in my <head> ( gulp dev for development, gulp prod for production ready version ), however only main.css is ...
0
votes
0
answers
25
views
Failed to instantiate module ui-bootstrap for Angular after grunt serve
I'm encountering this problem:
Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module ui.bootstrap due to:
Error: [$...
3
votes
1
answer
276
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 report of all bower packages, like when you run npm audit and you get a full report of vulnerable dependencies.
If anyone knows it, that ...
8
votes
7
answers
14k
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://...
2
votes
1
answer
131
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": "*"
}
}
...
3
votes
5
answers
3k
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
...
2
votes
1
answer
1k
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
167
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
192
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
48
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 ...
1
vote
3
answers
540
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
2k
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
748
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
77
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
31
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
82
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
114
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
431
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
360
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
88
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
0
answers
501
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
61
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
170
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
10k
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
278
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
681
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
441
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
572
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
64
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
143
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
1k
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
151
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
580
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
237
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
391
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 ...
5
votes
1
answer
673
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
173
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
393
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
68
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
291
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.
3
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
&...
1
vote
0
answers
185
views
Bower install how can I delay or pause between, or force-retry installation of dependencies?
Hi I have a problem that for some reason I get blocked form a private corporate repo from installing dependencies, it seems that due to the large amount of requests I generate when running bower ...
-1
votes
1
answer
971
views
bower-asset Failed to download bower-asset/jquery-ui
i try to install composer libs from scratch, and had an error:
Try to fix it by:
composer global require "fxp/composer-asset-plugin:^1.2.0"
composer self-update
composer clear-cache
As you see, I`...
2
votes
1
answer
2k
views
Yii2: use fxp assets plugin or asset-packagist?
Seems like yii2 has some unresolved conflict between
using the asset-packagist.org method, or the older
fxp assets plugin.
I am now working with a project, intended to use the
asset-packagist. All ...
1
vote
0
answers
861
views
Popper.js in angularjs (Version 1.4)
I install popper.js using bower in angularjs application which uses 1.4 version of angular.
I am trying to use Popper in one of my angular directive using below code.
function onClick() {
...
1
vote
2
answers
222
views
How to manage a non-node module as dependency for Node Project thorugh NPM?
I was using bower in my project for dependency management. But now I wanted to move to node and npm. But the problem is few of my dependencies are not node modules like Smooth-Div-Scroll1 and ...
1
vote
0
answers
211
views
How to clone gitlab repository via bower.json in a jenkins job when grunt build is executing?
I was trying out set up a Jenkins job for my UI project which builds with grunt. when I tried to build the UI project in the Jenkins job it keep stuck at the "Checkout & Build" stage grunt build ...