Search code examples
angularionic-frameworkionic2

All declarations of 'size' , 'prototype' must have identical modifiers


I have downloaded code from repository and run it on local getting these errors error screen shot

have following versions version detail when i run ionic serve got there someone please help me


Solution

  • Remove the typings.json and typings folder from your project and run. it should solve this problem.

    npm install @types/lodash --save-dev --save-exact
    

    Delete the typings.json file, and the typings directory.