Skip to content

Fix package.json to supporting AoT compilation #64

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

Closed
newapx opened this issue Jan 18, 2017 · 1 comment
Closed

Fix package.json to supporting AoT compilation #64

newapx opened this issue Jan 18, 2017 · 1 comment

Comments

@newapx
Copy link

newapx commented Jan 18, 2017

I try use webpack and after command npm run start-android-bundle got the error: not find module nativescript-imagepicker.

For correct compilation I replace in package.json property main
from "main": "viewmodel.js", to "main": "viewmodel",

More info: https://docs.nativescript.org/angular/tooling/bundling-with-webpack.html#recommendations-for-plugin-authors

@tsonevn
Copy link
Contributor

tsonevn commented Jan 19, 2017

Hi @newapx,

This problem has not be related directly with this plugin. nativescript-imagepicker plugin use nativescript-telerik-ui and has it as a dependency in its package.json file.

The problem with webpack has been related with UI for NativeScirpt and this issue will be fixed several days after upcoming release of the nativescript-telerik-ui.

For further info you could keep track on this issue.

Regards,
@tsonevn

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