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.

[8.x] Error initialising component

See original GitHub issue
[x] Bug report => search github for a similar issue or PR before submitting
[ ] Feature request
[ ] Other, please describe

Environment:

  • flatPickr version : 4.6.9
  • Vue.js version : 2.6.12
  • Browser name and version : Chrome 89.0.4389.82
  • This package version : 8.1.6

Current behavior Once component loads, inputs keep disabled and some console errors shows up. ReferenceError: Cannot access ‘e’ before initialization TypeError: Cannot read property ‘addEventListener’ of undefined Screenshot 2021-03-15 at 15 36 00

Expected behavior Having the input enabled to be able to pick a date.

Minimal reproduction of the problem with instructions

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Muffinmancommented, Apr 6, 2021

Hi @ankurk91

Splitting the flatpickr library out and using the CDN is a good solution for us, I’ve just tested this and it works great.

Many thanks for your help with this, I know this wasn’t an issue with your package!

0reactions
jeroendewildecommented, Sep 20, 2021

Apparently I’m not the only ones facing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

An error occurred: @Output not initialized - Stack Overflow
I have a Meetings component, generating a list of MeetingItem components. I want to perform actions when the user clicks on different buttons...
Read more >
Error: Component Class instance initialization error
I've had multiple components pop up with this error. The function is always W.protoype.Bb and seems to be in the internal salesforce code....
Read more >
Could not load model due to Error initializing graph ...
I have updated an existing Rasa 2.0 project to Rasa 3.0 following the migration guide and the custom graph components guide.
Read more >
Networking Subsystem Not Initialized - SocketTools
Check the system configuration to be sure all necessary components are currently installed and configured correctly. If this error is only ...
Read more >
Error codes in Device Manager in Windows - Microsoft Support
Lists the error codes that may be reported by Device Manager and the possible ... Code 37 "Windows cannot initialize the device driver...
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