Skip to content

Module build failed: Error: ENOENT: no such file or directory #12

Description

@drmendozaz

Hi, I am getting this error when trying to import IonCalendarModule and serve the App whith ionic serve in the browser:

Module build failed: Error: ENOENT: no such file or directory, open '/Users/MACDan/Documents/MyApp/node_modules/@ionic2-extra/calendar/index.js.map' at Error (native)

This is what I have in my app.modules.ts:
...
import { IonCalendarModule } from "@ionic2-extra/calendar";
...
imports: [
IonicModule.forRoot(MyApp),
IonCalendarModule
],
...

This is what I have installed:
Ionic Framework: 2.1.0
Ionic Native: 2.4.1
Ionic App Scripts: 1.1.3
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Node: 6.9.2
OS Platform: macOS Sierra
Navigator Platform: MacIntel

Also I installed this module like this:

npm install ../../Downloads/ionic2-extra-master/src/lib/calendar

Did I do something wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions