Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Fix for Issue #4986: Unable to Including third party libraries (like lodash) for Ionic 2 using TypeScript setup #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dimpu
Copy link

@dimpu dimpu commented Jun 24, 2016

Unable to include third party node modules in ionic2 typescript.

  1. Updated tsify version to 0.16.0 for ionic-gulp-browserify-typescript.
  2. Use index.d.ts insted of main.d.ts

Note: typeings version 1.3.0

@mbrookson
Copy link

Hi,

I've run into this error today after updating the ionic-cli to 2.0.0-beta.32

Trying to install lodash to an Ionic 2 project but get a typescript error 'Cannot load module 'lodash'

If I do the fixes you suggested here I end up with Typescript errors for all other node modules including @angular and ionic-native

@ramonornela
Copy link

Missing only update tsify, 1924b25#diff-431281a652e9061ff61ceabffacfe9d7

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

Successfully merging this pull request may close these issues.

3 participants