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

since updating to release 2.2.0 RRule undefined error in our project #166

Closed
justbill2020 opened this issue Mar 27, 2017 · 2 comments
Closed

Comments

@justbill2020
Copy link

index.html imports rrule.js as it always has.

 <script src="bower_components/rrule/lib/rrule.js"></script>
angular.js:14199 ReferenceError: RRule is not defined
    at parseICAL (service.js:132)
    at service.js:33
    at processQueue (angular.js:16696)
    at angular.js:16712
    at Scope.$eval (angular.js:17994)
    at Scope.$digest (angular.js:17808)
    at Scope.$apply (angular.js:18102)
    at done (angular.js:12082)
    at completeRequest (angular.js:12291)
    at XMLHttpRequest.requestLoaded (angular.js:12219)
(anonymous) @ angular.js:14199
(anonymous) @ angular.js:10707
processQueue @ angular.js:16704
(anonymous) @ angular.js:16712
$eval @ angular.js:17994
$digest @ angular.js:17808
$apply @ angular.js:18102
done @ angular.js:12082
completeRequest @ angular.js:12291
requestLoaded @ angular.js:12219

this just began with v2.2.0 please advice on how to resolve...

if it helps here's a link to our code...

https://github.com/evancohen/smart-mirror/blob/dev/plugins/calendar/service.js#L132

you can see the lines 132 and lines 33 (which calls function parseICAL)

@justbill2020
Copy link
Author

we reverted back to 2.1.0 in our bower.json file and this resolved it... however we would like to find the issue regardless so we can stick with the latest releases.

@davidgoli
Copy link
Collaborator

let me know if you're still having issues. Note the path for the import has changed, the new path should in README.md should be correct.

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