Warning MSG when Template Settings set to vue and/or vue, bootstrap-vue
See original GitHub issueSoftware / 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:
- Created 2 years ago
- Comments:8 (7 by maintainers)
Top GitHub Comments
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
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.
Added to backlog.