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.

error in registerPlugin function when registering Image Preview

See original GitHub issue

On Angular CLI: 1.7.4/Angular: 5.2.11

I have added the Image Preview plugin but getting the following error on the console: screen shot 2018-06-16 at 21 19 32

the following is my very basic app module

import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import { FilePondModule, registerPlugin } from 'ngx-filepond';

import FilepondPluginImagePreview from 'filepond-plugin-image-preview';
registerPlugin(FilepondPluginImagePreview);

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FilePondModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { } 

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

7reactions
kevduggancommented, Jun 18, 2018

got it working using

import * as FilePondPluginFileValidateType from 'filepond-plugin-file-validate-type';
import * as FilePondPluginImagePreview from 'filepond-plugin-image-preview';

registerPlugin(FilePondPluginFileValidateType);
registerPlugin(FilePondPluginImagePreview);
screen shot 2018-06-18 at 10 50 13 screen shot 2018-06-18 at 10 50 29
1reaction
rikschenninkcommented, Jun 17, 2018

Try FilePond instead of Filepond

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "Uncaught reference error : FilePond is not defined ...
I attached the css and js properly but it's still not loading the image previews. I'm editing my code to reflect the updates...
Read more >
gsap.registerPlugin(ScrollTrigger) doesn't work - GreenSock
I have a black Screen and my goal is it to see an image from a car and when you scroll its zooming...
Read more >
Handling pre-existing images when editing a model using ...
I have a Filepond component that works great for uploading images to a post. ... id="image-upload" type="file" x-ref="input" multiple > @error('images.
Read more >
Error in Landmarks and Register - Image.sc Forum
Hi there, I routinely utilise Landmarks and Register with no issues, but suddenly I get this error when performing Rigid Registration.
Read more >
FilePond Documentation - PQINA
js using the Image Edit plugin. // Please note that for the image edit plugin to function // we also need to register...
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