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
Typescript errors on @types\lodash\index.d.ts #417
Comments
Dupe #394 ? |
@andrewconnell It's a different set of errors, but the workaround in #394 fixes this one, too. |
I did this workaround from #394 and it worked: |
Different error depending on which version of TypeScript you use, but same root cause & workaround.
|
npm install @types/lodash@4.14.50 |
@fksontini running the command fixed the issue.(npm install @types/lodash@4.14.50) |
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues |
Expected or Desired Behavior
Run my new Helloworld-webpart
Observed Behavior
8 errors on node_modules@types\lodash\index.d.ts; 4-TS1005 & 4-TS1128
Full error messaages below
Steps to Reproduce
spfx/set-up-your-development-environment
spfx/web-parts/get-started/build-a-hello-world-web-part
I got the errors when I ran "gulp serve"
There were no errors when I ran "yo @microsoft/sharepoint"
I am running on a win 10 azure vm.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,21): error TS1005: ']' expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,22): error TS1005: ';' expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,23): error TS1128: Declaration or statement expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,33): error TS1005: ']' expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,34): error TS1005: ')' expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,35): error TS1128: Declaration or statement expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,37): error TS1128: Declaration or statement expected.
Error - typescript - node_modules@types\lodash\index.d.ts(19441,1): error TS1128: Declaration or statement expected.
The text was updated successfully, but these errors were encountered: