Incompatible with Nativescript
Opened this issue · 2 comments
I tried to install ddp.js various versions (0.50, 1.0.0, 1.1.0) but none of them work in Nativescript.
Specifically it reports
Error on line 121 - unexpected end of input
when imported by
DDP = require('ddp.js')
Perhaps due to node.js dependencies?
Sorry for the delay in replying to this issue.
Mmh, no idea. Unfortunately I haven't had the chance to test it with NativeScript. The upcoming 2.0.0
version changes how the library is distributed (as individuals modules in lib
instead of a bundle in dist
). Maybe that change will fix it.
Let me know.
Hi I am just trying this module with react native 22.2 and I had problems with babel. I resolved them with the following three installs from npm.
npm i -S babel-preset-es2015
npm i -S babel-preset-react
npm i -S babel-stage-0
Hope that helps somebody.