Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BootstrapVue Playground Crash #1843

Closed
piboistudios opened this issue May 18, 2018 · 3 comments · Fixed by #2177
Closed

BootstrapVue Playground Crash #1843

piboistudios opened this issue May 18, 2018 · 3 comments · Fixed by #2177

Comments

@piboistudios
Copy link

I'm not sure what happened, but some code I was testing in the playground caused a crash. Crash reoccurs every time I visit the page because of session logging (and it crashes as soon as it loads the page because it immediately tries to run the bad code).

Wasn't sure where to talk about this at (workaround was using Chrome's incognito mode, cookie deletion does not work)

I imagine that the demo somehow reloaded in the midst of me typing some code and kicked off an infinite loop somehow.

@piboistudios
Copy link
Author

This is the code in case you're wondering what I did:
image

@emanuelmutschlechner
Copy link
Contributor

This happened to me too. When copy pasting code, compilation fails due to some error (e.g. reference yet undefined data variable in template) and makes playground unresponsive. CPU load increases to 100+ in Chrome Task Manager

Template and JS are persisted to Local Storage.

How to fix

If you are using Chrome, this will help:

  1. Open Chrome Dev Tools
  2. Select tab Application
  3. Click Clear storage in sidebar
  4. Finally click the button Clear site data, kill the tab and reload

How to reproduce

Change name in Template to some undefined variable like name2.
image

@emanuelmutschlechner
Copy link
Contributor

As an alternative I recommend using codesandbox.io. I created a BootstrapVue starter template. btw you can install node packages too!

tmorehouse added a commit that referenced this issue Nov 16, 2018
* docs(playground): fix playground issues

* add render error handlers

* move console overrides to before  run during mount

* Update play.vue

* Update play.vue

* revert to default if local storage data is older than 7 days

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* fix autocorrect typo

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* fix autocorrect

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* debugging...

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* store orignal loggers on non reactive props

* commenting out console overrides

* disable global error handler

* only override console.log

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* lint

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update codemirror.vue

Minor updates

* Update play.vue

* lint

* Update codemirror.vue

* Update codemirror.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue

* Update play.vue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants