Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Failed to load snippets #25

Open
barbs-pm opened this issue Mar 16, 2018 · 46 comments
Open

Failed to load snippets #25

barbs-pm opened this issue Mar 16, 2018 · 46 comments

Comments

@barbs-pm
Copy link

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
Copy link

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

@barbs-pm
Copy link
Author

No, not yet :(

@sextitanic
Copy link

sextitanic commented Apr 2, 2018

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
Copy link

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
Copy link
Owner

🧐ok let me check

@theNaut1lus
Copy link

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
Copy link

mukapi commented Jul 3, 2018

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

@KALEEM222
Copy link

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
Copy link

Leo-Souto commented Sep 5, 2018

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
Copy link

jaiasmit commented Sep 8, 2018

Saved me a ton of heartache! Thanks @sextitanic

@mukapi
Copy link

mukapi commented Sep 8, 2018

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
Copy link

zamcr commented Sep 13, 2018

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

@ArthurMarjanovic
Copy link

Thanks @sextitanic

This was referenced Oct 8, 2018
@SeeRjED
Copy link

SeeRjED commented Oct 14, 2018

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
Copy link

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

@ghost
Copy link

ghost commented Oct 26, 2018

Good job @sextitanic!

@Sami0ver9k Sami0ver9k mentioned this issue Nov 9, 2018
@kr-hassan
Copy link

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

@mukapi
Copy link

mukapi commented Nov 28, 2018

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
Copy link

mukapi commented Dec 16, 2018

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

@JRudransh
Copy link

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

@mukapi
Copy link

mukapi commented Jan 5, 2019

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
Copy link

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

fixed for me on mac.
thanks.

@glorious73
Copy link

Thanks @sextitanic for solving the issue.

@DavidGmz
Copy link

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

@initialvisuals
Copy link

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
Copy link

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

@Iltaf123
Copy link

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

@eduardomart
Copy link

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
Copy link

Progress striped animate - Bootstrap 4

Fantastic solution, work for me, really thanks.

@yordyjimenez
Copy link

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
Copy link

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
Copy link

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
Copy link

Using snippets.zip works for me in macbookpro

@Deepkapadia
Copy link

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
Copy link

shertu commented Oct 16, 2019

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

@ghost
Copy link

ghost commented Oct 22, 2019

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
Copy link

JRudransh commented Dec 2, 2019

See issue #26, There i posted the solution.

@WebbieFrank
Copy link

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
Copy link

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

MAC USER HERE📌
This solution is 🐎

@blackvelvetron
Copy link

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

Fixed for me! Thank you so much!

@ItsYorkshire
Copy link

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

@menakm
Copy link

menakm commented Oct 5, 2020

working very good with the snippets.zip
thx a lot

@tradertronic
Copy link

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

@rsail
Copy link

rsail commented Dec 14, 2020

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

@AndresFCC96
Copy link

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

Still working on windows tyvm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests