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

Error building the demo app #423

Closed
datencia opened this issue Jun 28, 2017 · 3 comments
Closed

Error building the demo app #423

datencia opened this issue Jun 28, 2017 · 3 comments
Labels

Comments

@datencia
Copy link

datencia commented Jun 28, 2017

On a freshly cloned repo, after $ npm install, when I run $ npm run build:modules I get these errors:

image

After diving a bit on google, I've found this issue on typescript. It is related with TS 2.4.1 and RxJS 5.4.1 (latest).

After removing the carets from the next dependencies:

    "ionic-angular": "3.4.2"
    "rxjs": "5.4.1"
    "typescript": "2.3.4"

Everything is back to normal.

I suggest to remove all carets (^) from package.json dependencies to pin all dependencies to their exact version and avoid these kinds of errors in the future.

@udos86
Copy link
Owner

udos86 commented Jun 29, 2017

@datencia

My suggestion here would be that you upgrade to npm5 (if possible) and make use of the new package-lock.json file.

@udos86 udos86 added the sample label Jun 29, 2017
@datencia
Copy link
Author

Thx. It's working now. I didn't know about the new npm version. My fault! ;)

@udos86
Copy link
Owner

udos86 commented Jun 29, 2017

@datencia No problem, have fun!

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

No branches or pull requests

2 participants