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.

Possible error in documentation

See original GitHub issue

When following the instruction on the website about how to register filepond plugins, I found what seems to be an error in the documentation. It says here that you should import plugins like this: import FilepondPluginImagePreview from 'filepond-plugin-image-preview'; however, this was giving me errors. Turns out you need to import them as such: import * as FilepondPluginImagePreview from 'filepond-plugin-image-preview.

Not totally sure if this is a mistake or not, but thought I’d bring it up. Maybe it’s the way I set things up in Aurelia.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
edgolubcommented, Dec 25, 2018

For anyone else finding this page:

I was also having issues with the image preview, turns out you have to register the plugins you include, like this:

    FilePond.registerPlugin(
      FilePondPluginImagePreview
    )

I didn’t find this mentioned anywhere in the docs for it, I found the code snippet in the example on the website.

1reaction
rikschenninkcommented, Mar 27, 2018

@cmatzenbach I have the same problem with angular-cli, I think it chooses the incorrect module. I fixed it by explicitly pointing to the esm version.

import FilePondPluginFileValidateType from 'filepond-plugin-file-validate-type/dist/filepond-plugin-file-validate-type.esm.js';
Read more comments on GitHub >

github_iconTop Results From Across the Web

Nursing documentation: How to avoid the most common ...
Top 9 types of medical documentation errors · Sloppy or illegible handwriting · Failure to date, time, and sign a medical entry ·...
Read more >
Documentation Common Error - Excelsior OWL
Incomplete or Missing Documentation. The third most common error on the list relates to proper documentation. It's so important to remember to cite...
Read more >
Common Costly Medical Documentation Errors
Accurate medical documentation is vital for efficient medical record review. Read about common medical documentation errors that physicians ...
Read more >
MEDICAL ERRORS IN NURSING: PREVENTING ...
Failure to document a patient's condition, medications administered, or anything else related to patient care can result in poor outcomes for ...
Read more >
Importance of Documenting Frequently Encountered Errors
This Scenario Explains How Important It is to Document the Frequently Encountered Errors · Some of the areas with frequent errors: · Download ......
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