Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module build failed #2

Open
n4jim opened this issue Sep 8, 2018 · 1 comment
Open

Module build failed #2

n4jim opened this issue Sep 8, 2018 · 1 comment

Comments

@n4jim
Copy link

n4jim commented Sep 8, 2018

Hello,
when i serve the app i get this:
Uncaught Error: Module build failed: Error: ENOENT: no such file or directory, open '/Users/XXXX/MyApp/node_modules/nemex-angular2-viewpager/index.js'

Ty

@shy2net
Copy link
Owner

shy2net commented Sep 8, 2018

In the newer versions of Angular this library does not work as it is not being compiled, the current solution (until I will fix it) is to add the library to the tsconfig.app.json file:

"include": [
    "src/**/*",
    "node_modules/nemex-angular2-viewpager/index.ts",
]

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

No branches or pull requests

2 participants