degouville / atom-bootstrap4

Bootstrap 4 Support & Snippets for Atom
https://atom.io/packages/atom-bootstrap4
MIT License
48 stars 26 forks source link

Failed to load snippets #25

Open barbs-pm opened 6 years ago

barbs-pm commented 6 years ago

Everytime I enter ATOM this message apears: Failed to load snippets from 'C:\Users\Barbs.atom\packages\atom-bootstrap4\snippets\components-button_group.cson' C:\Users\Barbs.atom\packages\atom-bootstrap4\snippets\components-button_group.cson: Duplicate key 'Button group - Bootstrap 4'

not just for the button group but for other snippets

martonlanga commented 6 years ago

Having the same issues here. Have you found a way to solve it?

barbs-pm commented 6 years ago

No, not yet :(

sextitanic commented 6 years ago

I changed C:\Users\username\.atom\packages\atom-bootstrap4\snippets\components-button_group.cson line 63 'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4'

C:\Users\username\.atom\packages\atom-bootstrap4\snippets\components-pagination.cson line 58 'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4'

C:\Users\username\.atom\packages\atom-bootstrap4\snippets\components-cards.cson line 348 ~ 359 deleted

C:\Users\username\.atom\packages\atom-bootstrap4\snippets\components-modals.cson line 132 'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'

C:\Users\username\.atom\packages\atom-bootstrap4\snippets\components-progress.cson line 22 'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'

now everything's going great

WebbieFrank commented 6 years ago

It all works except for this one:

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson line 132 'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'


The line you mention exists, but not at line 132.
When changing that file, I am stil stuck with an error in that particular file.

Any further suggestions, please?
degouville commented 6 years ago

🧐ok let me check

theNaut1lus commented 6 years ago

Replying to WebbieFrank, If the persisting error you're getting says at the end :- "modal content based- bootstrap4" then just add a space after based :)

mukapi commented 6 years ago

Hi everyone, I get the same issue too. Has anyone been able to solve this issue?

KALEEM222 commented 6 years ago

I changed C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-button_group.cson line 63 'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4' C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-pagination.cson line 58 'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4' C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-cards.cson line 348 ~ 359 deleted C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson line 132 'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4' C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-progress.cson line 22 'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'

these changes really works!!! thanks sextitanic
Leo-Souto commented 6 years ago

line 132 'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'

i've downloaded the package today and they changed this line to 'Modal content based - Bootstrap 4' your modification still works.

jaiasmit commented 6 years ago

Saved me a ton of heartache! Thanks @sextitanic

mukapi commented 6 years ago

Is there any way to connect for a chat in GitHub? I have questions regarding this issue and would like to discuss this in private. Thanks ;)

zamcr commented 6 years ago

Hey sextitanic! You're great!, thank you very much! I just followed the steps and problem solved, as you said.

ArthurMarjanovic commented 6 years ago

Thanks @sextitanic

SeeRjED commented 6 years ago

screenshot_1

'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4' I changed, but it didn't work and I started getting this error.

It worked on my laptop but when I tried on my PC I have the same problem as musayazlik.

Edit: Just removed bootstrap 4 from packages, installed it again and followed sextitanic steps. Works now on my PC as well. I recommend to reinstall the package if you have lines that don't match his comment.

robinsdeepak commented 6 years ago

Worked for me!! Thanks @sextitanic How do you find such complicated solutions??

ghost commented 6 years ago

Good job @sextitanic!

kr-hassan commented 5 years ago

problem I also facing the same problem of @SeeRjED and @musayazlik. Can anyone solve that?

mukapi commented 5 years ago

I changed C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-button_group.cson line 63 'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4'

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-pagination.cson line 58 'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4'

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-cards.cson line 348 ~ 359 deleted

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson line 132 'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-progress.cson line 22 'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'

now everything's going great

How do you "change" this please? Do you need to use the terminal?

mukapi commented 5 years ago

Do we just have to rename these files to make them work?

JRudransh commented 5 years ago

i resolve it.. just replace the snippets with this folder.. snippets.zip

mukapi commented 5 years ago

i resolve it.. just replace the snippets with this folder.. snippets.zip

I just did but I still can't have the snippets to load...

afwebdev commented 5 years ago

i resolve it.. just replace the snippets with this folder.. snippets.zip

fixed for me on mac. thanks.

glorious73 commented 5 years ago

Thanks @sextitanic for solving the issue.

DavidGmz commented 5 years ago

Thanks a lot, @sextitanic and @BhaskarUprety, you really helped me to fix the problem.

initialvisuals commented 5 years ago

I changed C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-button_group.cson line 63 'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4' C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-pagination.cson line 58 'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4' C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-cards.cson line 348 ~ 359 deleted C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson line 132 'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4' C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-progress.cson line 22 'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'

these changes really works!!! thanks sextitanic

Thank you all so much, managed to get this working after those fixes!

EfrainJ1223 commented 5 years ago

se deben eliminar las lineas que están duplicadas según la ruta del archivo.

Iltaf123 commented 5 years ago

I also have the same problem. Every time open atom this happen. As there is a permanent solution of this

eduardomart commented 5 years ago

I also have the same problem. Every time open atom this happen. As there is a permanent solution of this

Yeah I feel like this should be solved by the developer rather than having to fix manually with every install but given that there are no updates in nearly a year it starting to look like another abandoned project

CarlosNaveda commented 5 years ago

Progress striped animate - Bootstrap 4

Fantastic solution, work for me, really thanks.

yordyjimenez commented 5 years ago

Lo resuelvo ... simplemente reemplace los fragmentos de código con esta carpeta ... snippets.zip

Eres el put0 amo de verdad, ahorraste ek tiempo jajaja!

mind-ctrl-spider commented 5 years ago

Thanks @sextitanic. Worked great. I was also having a problem with: C:\Users\username.atom\packages\bootstrap-sass-snippets\snippets\variables.cson: duplicate key deleted lines 75-77 changed lines 72-74 from 'Font-size small': 'prefix': 'font-size-small' 'body': '$font-size-small: $1;' to 'Line height small': 'prefix': 'line-height-small' 'body': '$line-height-small: $1;'

Imoraleschazam commented 5 years ago

i resolve it.. just replace the snippets with this folder.. snippets.zip

much thanks, fixed for me on windows 10 laptop, other snippets also stopped failing

osoluche commented 5 years ago

Using snippets.zip works for me in macbookpro

Deepkapadia commented 5 years ago

I changed C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-button_group.cson line 63 'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4'

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-pagination.cson line 58 'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4'

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-cards.cson line 348 ~ 359 deleted

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson line 132 'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-progress.cson line 22 'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'

now everything's going great

It's working now thanks to @sextitanic.

one moore thing we have to change

C://⁨Users/⁨deepkapadia/⁨.atom⁩/⁨packages/⁨bootstrap-sass-snippets⁩/⁨snippets⁩/variables.cson

line 72 to 76 Remove 'font-size small'

shertu commented 5 years ago

This issue is still occuring despite being open and known about for a year?

ghost commented 5 years ago

changed_files.zip => Just replace this files on snippets folder i mean this path : C:\Users\your-user-name\.atom\packages\atom-bootstrap4\snippets and also you can do ClickHere

JRudransh commented 4 years ago

See issue #26, There i posted the solution.

WebbieFrank commented 4 years ago

Thanks everyone for the advice. At least all the ugly red popups are now gone. I have one more question now, however (not so much an issue, some advice, really): What do we do when Bootstrap and/or JQuery update? Can we just change the CDN lines (the CSS and JQUERY hyperlinks from getbootstrap.com) by pasting them in the package script somewhere or do we have to do it differently or wait for the package to get updated? Please forgive my ignorance. Thanks.

parajulizRoman commented 4 years ago

i resolve it.. just replace the snippets with this folder.. snippets.zip

MAC USER HERE📌 This solution is 🐎

blackvelvetron commented 4 years ago

i resolve it.. just replace the snippets with this folder.. snippets.zip

Fixed for me! Thank you so much!

ItsYorkshire commented 4 years ago

Top man.. Working on Ubuntu 20. Cheers @sextitanic.

menakm commented 4 years ago

working very good with the snippets.zip thx a lot

tradertronic commented 4 years ago

Yo tambien lo he arrreglado asi, por cierto, de donde sacaste esa carpeta bro ?

rsail commented 3 years ago

@sextitanic, amazing after 2 years your solution is still active! Thanks

AndresFCC96 commented 3 years ago

i resolve it.. just replace the snippets with this folder.. snippets.zip

Still working on windows tyvm