Closed dxshindeo closed 7 years ago
It seems nativescript-vibrate needs to be updated in order to be resolvable by webpack. Its package.json/main
field needs to drop the .js
suffix:
The same issue is happening to me trying to add 'nativescript-taptic-engine', which has been updated the way the docs show.
Any clue what might be causing that?
PS. I'm using lazyloaded modules in my app.
Trying to create a sample app with AoT enabled. It works, if I don't add 3rd party plugins, but fails, when I add something trivial:
tns create test --ng
tns plugin add nativescript-vibrate
In docs(http://docs.nativescript.org/angular/tooling/bundling-with-webpack.html) NS says, that one would specify the plugin upon app bootstraping like so:
However, getting error:
What am I doing wrong?