Skip to content

TypeScript error "Cannot resolve module 'adal'". #6

@henrydaehnke

Description

@henrydaehnke

I'm using TypeScript version 1.8.10 and trying to compile the example project, but I get the following error

Module not found: Error: Cannot resolve module 'adal' in C:\Projects\AzureAD\WebAppsCh5\WebAppsCh5Angular2\node_modules\angular2-adal\services @ ./~/angular2-adal/services/adal.service.js 20:14-29

I added the "adal" reference to the typings.json file suggested in another issue:

"adal": "github:DefinitelyTyped/DefinitelyTyped/adal-angular/adal.d.ts#53347571e6f44ed9a961b569bb81893fde4789c1",

Unfortunately, that didn't fix the error either. Do I need to npm install the ADAL.js package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions