Monday, February 6, 2017

Lodash error in SharePoint Framework RC0

I downloaded and started using SPFx RC0 the other day and I got this Lodash error right out of the box:

Error - typescript - node_modules\@types\lodash\index.d.ts(11444,21): error TS10
05: ']' expected.

Turns out, the fix is quite simple. Just downgrade Lodash with this command:

npm i @types/lodash@4.14.50

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.