Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

[Bug] Get compile error on npm start #50

Closed
shekooogames opened this issue Apr 2, 2018 · 5 comments
Closed

[Bug] Get compile error on npm start #50

shekooogames opened this issue Apr 2, 2018 · 5 comments

Comments

@shekooogames
Copy link

shekooogames commented Apr 2, 2018

react-social-network-next/src/api/FileAPI.ts
(39,5): Type '(this: FileReader, readerEvent: FileReaderEvent) => void' is not assignable to type '((this: FileReader, ev: ProgressEvent) => any) | null'.
Type '(this: FileReader, readerEvent: FileReaderEvent) => void' is not assignable to type '(this: FileReader, ev: ProgressEvent) => any'.
Types of parameters 'readerEvent' and 'ev' are incompatible.
Type 'ProgressEvent' is not assignable to type 'FileReaderEvent'.
Property 'getMessage' is missing in type 'ProgressEvent'.

@Qolzam
Copy link
Member

Qolzam commented Apr 3, 2018

Thanks for report but I really can't understand what you mean by that. Is it compile error? What is the steps I can reproduce this error?

@shekooogames
Copy link
Author

shekooogames commented Apr 3, 2018 via email

@Qolzam
Copy link
Member

Qolzam commented Apr 3, 2018

I have done 3 steps:

git clone git@github.com:Qolzam/react-social-network.git
yarn install or (npm install)
yarn start or (npm start) 

It's compiling successfully and also I created a post with photo. Everything seems well.
Please let me know how I can help you more.

@Qolzam Qolzam changed the title his: FileReader, readerEvent: FileReaderEvent) => void' is not assignable to type [Bug] Get compile error on npm start Apr 4, 2018
@Qolzam
Copy link
Member

Qolzam commented Apr 4, 2018

Issue with npm install has been resolved. I'm going to close this issue.

@Qolzam Qolzam closed this as completed Apr 4, 2018
@rajabhinav99
Copy link

Cannot find module './webpack.config'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants