question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warning MSG when Template Settings set to vue and/or vue, bootstrap-vue

See original GitHub issue

Software / Version Node.JS / v14.18.3 npm / 6.14.15 Node-RED / v2.1.5 uibuilder node / vNext 5.0.0-dev uibuilderFE / 5.0.0-dev OS / Ubuntu 18.04.6 LTS (Bionic Beaver) Browser / Firefox 95.0

How is Node-RED installed? Where is uibuilder installed?

Node-red installed @ $HOME/.node-red uibuilder installed @ $HOME/.node-red/node_modules/node-red-contrib-uibuilder uibuilder root folder @ $HOME/.node-red/uibuilder

Node: uibuilder node

Issue: Warning MSG when Template Settings set to vue and/or vue, bootstrap-vue

WARNING

The selected uibuilder template (vue) is MISSING the following dependencies:
vue, bootstrap-vue

Please install them using the uibuilder Library Manager or select a different template.

I followed this install process

node-red dir $ cd .node-red

Install vNext build $ npm install TotallyInformation/node-red-contrib-uibuilder#vNext

NOTE: As of v3.1.3, npm cannot safely install the VueJS and bootstrap-vue default dependencies. If you want to use the provided VueJS templates, you must install these yourself. Either use uibuilder’s library manager or manually install from the command line While I was still in $HOME/.node-red $ npm install vue@“2." bootstrap-vue@"2.

npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

> bootstrap-vue@2.21.2 postinstall /home/nfs/.node-red/node_modules/bootstrap-vue
> opencollective || exit 0

                                                                                                 
                                                              ;iiiiiiiiiiSSSSSSSSiiiiiiiiii;     
                                                              .rXXXXXXXXXrrrrrrrSXXXXXXXXXr.     
                                                              :iXXXXXXXX2. ;;;;, r3XXXXXXXi;     
                                                             ,rSSSSSXXXX2..sSSi: r3XXXSSSSSr,    
                                                              ,siiiiS2XX2. :;;:,.rXX2Siiiis,     
                                                               ,riiiii2X2..5XXXi .22iiiiir,      
                                                                .riiiii22..::::,,r2iiiiir.       
                                                                 .riiiii5SSiiiiS22iiiiir.        
                                                                   ;iiiii5X3333X5iiiii;          
                                                                    :iiiiiSXXXXSiiiii:           
                                                                     :siiiiSXXSiiiis:            
                                                                      ,siiiiiiiiiis,             
                                                                       .riiiiiiiir.              
                                                                        .riiiiiir.               
                                                                         .;iiii;.                
                                                                           ;ii;                  
                                                                            ::                   
                                                                             
                                                          Thanks for installing bootstrap-vue 🙏
                                                     Please consider donating to our open collective
                                                            to help us maintain this package.
                                                                             
                                                                Number of contributors: 0
                                                                  Number of backers: 304
                                                                  Annual budget: $14,458
                                                                 Current balance: $21,639
                                                                             
                                           👉  Donate: https://opencollective.com/bootstrap-vue/donate
                                                                             
npm WARN bootstrap@4.6.1 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.

+ vue@2.6.14
+ bootstrap-vue@2.21.2
added 18 packages from 24 contributors and audited 184 packages in 12.488s

18 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

looks like it installed fine $ ls -a node_modules | grep vue

bootstrap-vue
portal-vue
vue
vue-functional-data-merge

Then restart node-red $ sudo systemctl restart nodered

Tracked the WARNING MSG back to uibuilder.html in line 5

Trying to figure it out now. Care to point me in the right direction for picking apart RED.settings.uibuilderTemplates[t].dependencies

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
meeki007commented, Jan 13, 2022

Wow…This totally(no pun intended) points me in the right direction. I was about to point out what I had found in my digging. Let me do that now and point out the solution I was going to go for. I found that if I use the uibuilder node properties->libraries [native installer] it puts a copy of vue / bootstrap-vue into the folder

/home/nfs/.node-red/uibuilder/node_modules

so I thought that all I need todo is update the documentation to use this path. I then started diggin on the for where this is created. Because if I delete the last front-end package from this folder IT DELETE’S the /node_modules folder located inside the /home/nfs/.node-red/uibuilder dir. I would like it to be static and there even if no modules so if i submit a pull to update the documentation and the msg in the terminal upon build I could add the correct command.

Now that I’ve read your post above I can see this is allot deeper and requires some more thought. I got the rest of today off so im going to drink some beer and start digging now that you have shown me the path. … expect more questions.

I so wish you could do a search of plain txt on github to look in all files this would save me allot of time.

0reactions
TotallyInformationcommented, Jan 18, 2022

Added to backlog.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Alert | Components - BootstrapVue
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. Show page table of contents.
Read more >
Warning: Multiple instances of Vue detected! #3351 - GitHub
I'm using electron-vue and bootstrap-vue and getting the warning "Multiple instances of Vue detected!". Whole warning message: D:\temp\test1\ ...
Read more >
Once dismissed the boostrap vue alert, it's not working again
Once alert is dismissed the showAlert state is set to false as it is supossed to be and the alert disappears. If you...
Read more >
Integrating Bootstrap with Vue.js Using Bootstrap-Vue - SitePoint
Bootstrap-Vue also provides two vue-cli templates that can scaffold our ... To set it up, let's create our Pen, click on the settings...
Read more >
How To Use Bootstrap 4 in Vue.js with BootstrapVue
Step 1 — Setting Up the Project · npx @vue/cli create vue-bootstrap-example --default · cd vue-bootstrap-example · npm install bootstrap @4.6.0 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found