-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors While Building the code #48
Comments
Are you having issue with all the webparts or just the Slider Gallery? Would it be better to create an new SPFx project with the latest version and attempt to update the webpart code? |
I am facing the same issue with all webparts. I have created new project for one webpart but haven't tried with others, I had hoped that might be a fix available here. |
Well, thanks for sharing your experience with these webparts. You saved me some time and headache. I'm interested in the twitter webpart and a few others, but not all of them for my current SPFx v1.3 project. Do you recommend I stay with SPFx v1.1, 1.2 or go ahead an attempt to fix some with v1.3? Btw, I installed the webparts in my SharePoint environment and have no issues. |
So what are the solutions to build without erros ? |
as @kmosti and I mentioned here : https://github.com/OlivierCC/spfx-40-fantastics/issues/43 I just removed the ^ and ~ from :
now i have :
deleted the 2 folders : @microsoft and @types from node_modules added context in MessageBarWebPart.ts PropertyFieldRichTextBox('text', { and that's all, and works fine thank you |
I am getting following errors when trying to build the code with Gulp Serve
[09:16:59] Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(3524,25): error TS2694: Namespace 'React' has no exported member 'SVGProps'.
[09:16:59] Error - typescript - src\webparts\sliderGallery\SPPicturesListService.ts(61,126): error TS2345: Argument of type 'SPHttpClientConfiguration' is not assignable to parameter of type 'SPHttpClientConfiguration'.
Also SpLoader seems to be a problem
Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(292,33): error TS1005: '(' expected.
I have installed all dependencies as per package.json. Am I missing something?
The text was updated successfully, but these errors were encountered: