You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
When using this in a project with browserify or similar tools it fails to work. It gives this error in my Ionic 2 + Angular 4 project - ERROR Error: Uncaught (in promise): TypeError: Lawnchair is not a function
I haven't looked into the exact differences, but it appears that in sync-client.js we load var Lawnchair = require('../libs/lawnchair/lawnchair'); but this does not have module.exports. When I added this it then gives the error Error: Uncaught (in promise): Error: No valid adapter.
I will look to make a PR.
The text was updated successfully, but these errors were encountered:
@wtrocki I recall making that fix in the JS SDK, but I don't think it will work here since the issue is at a source level. Will look into it though, thanks for the feedback!
When using this in a project with browserify or similar tools it fails to work. It gives this error in my Ionic 2 + Angular 4 project -
ERROR Error: Uncaught (in promise): TypeError: Lawnchair is not a function
I haven't looked into the exact differences, but it appears that in
sync-client.js
we loadvar Lawnchair = require('../libs/lawnchair/lawnchair');
but this does not havemodule.exports
. When I added this it then gives the errorError: Uncaught (in promise): Error: No valid adapter.
I will look to make a PR.
The text was updated successfully, but these errors were encountered: