Closed acerix closed 4 years ago
Actually, same error in Typescript, so it's not Angular specific.
[./src/main.ts] 3.9 KiB {main} [built] [2 errors]
+ 19 hidden modules
ERROR in ./src/main.ts
Module not found: Error: Can't resolve '@fullcalendar/rrule' in '/home/user/fullcalendar-example-projects/typescript/src'
@ ./src/main.ts 15:0-46 34:18-29
The rrule project messed something up, it works if you downgrade a version, see https://github.com/jakubroztocil/rrule/issues/417
Some even downgrade further to avoid other bugs, see: https://github.com/jakubroztocil/rrule/issues/209#issuecomment-686622543
this seems like a problem with the 3rd party rrule
package, which they claim to have fixed. is anyone able to verify that things are all good?
this seems like a problem with the 3rd party
rrule
package, which they claim to have fixed. is anyone able to verify that things are all good?
I updated to the latest version and everything works fine. You can close this issue.
thanks
Still have the same problem. @fullcalendar/vue": "^5.5.0", when compiling with "@fullcalendar/rrule": "^5.5.0", get Could not find module in path: 'rrule' relative to '/node_modules/@fullcalendar/rrule/main.js'. Any ways to win it?
What isn't clear if you follow the docs on adding rrule for Full Calendar is on their NPM install instructions it makes no mention of first having to add the rrule
package itself. However, the Script install instructions show rrule being pulled in from the cdn.
I added the rrule
package separately: yarn add rrule
which is what '@fullcalendar/rrule
needs under the hood.
Hope that helps.
@processedbeets Ah yes indeed! Thanks for posting this comment. The docs do say it's a "connector" for the rrule library, but I presumed that it would handle installing rrule as a dependency for me (didn't cross my mind to install it myself) as it didn't say outright that it needed to be installed separately.
That fixed it for me, thanks!
brilliant glad that worked!
still not working for me :(
@processedbeets thanks. me too like this; npm install--save rrule
Reported in https://fullcalendar.freshdesk.com/a/tickets/2127
Including the rrule plugin in the Angular example project using the example code results in "Module not found" error in compilation:
I also could not get it working in codesandbox, there I get
ERROR TypeError: Cannot read property 'WEEKLY' of undefined
:https://codesandbox.io/s/suspicious-bush-1zose