Comments (5)
Please share the deps in package.json.
from angular-material-fileupload.
I also see now that upload and remove buttons doesnt work after this error cause in this StackBlitz without error works fine
from angular-material-fileupload.
@Adam-Michalski, Was trying these deps on my side, couldn't replicate the error.
Can you please provide the command which you were trying? Also when i was trying the stackblitz link you posted, the only error i get is
OPTIONS http://localhost:8180/jax-rs-jersey-application-sample net::ERR_CONNECTION_REFUSED
Since i don't have a service running. So did you make sure that the upload service is running?
from angular-material-fileupload.
I have the same issue, I ll come back if I figure it out or have additional details.
I can confirm it has nothing to do with the backend, the upload is up and running.
I get the error during the component initialization. Everything works though...I can post the file.
I am using it like this:
@Component({
selector: 'formly-field-file',
template: `
<input type="file" id="singleFile" [formlyAttributes]="field" [fileUploadInputFor]= "fileUploadQueue"/>
<mat-file-upload-queue #fileUploadQueue
[fileAlias]="'file'"
[httpUrl]="'http://localhost:8000/api/song'">
<mat-file-upload [file]="file" [id]="i" *ngFor="let file of fileUploadQueue.files; let i = index"></mat-file-upload>
</mat-file-upload-queue>
`,
})
export class FormlyFieldFile extends FieldType {}
If im using it HTML, not in a component template, everything is fine.
"@angular/core": "7.2.4",
from angular-material-fileupload.
Same issue here - same as @idzer0lis. Any fix?
from angular-material-fileupload.
Related Issues (20)
- getting error NullInjectorError: No provider for MatFileUploadQueue! HOT 6
- ERROR in node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'. HOT 3
- No longer working with Angular 8 (DOCUMENT import from @angular/platform-browser)
- not working HOT 1
- NullInjectorError: No provider for ElementRef! -- Angular 8 HOT 7
- No Validation Support
- How to get the response from the server HOT 1
- NullInjectorError HOT 10
- Failed to find the exported name of node HOT 9
- Not working in Angular 10.1.4 HOT 6
- No File Type Restrictions
- can't compile angular-material-fileupload
- Not working with Angular 9.0.7 HOT 1
- Content Type is set to application/json HOT 1
- Not Working with New Angular Versions - Solution HOT 1
- Upload single file HOT 1
- Support Injecting custom MatFileUploadQueueService
- Can we upload file in chunks ?
- Is there support for using Firebase Auth to save to Firebase Storage - seems as though this does not work
- No support for Angular 9+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-material-fileupload.