-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Can't resolve '@fullcalendar' in '.blitz/build' #91
Comments
Minimal reproduction here |
Thanks @CalebDelbridge, not sure what the issue is. This is ready for someone to work on. |
@CalebDelbridge your repo is gone now, is this still an issue? |
Yes, I would assume this is still an issue, but due to that, I am no longer using Blitz, so it's not an issue affecting me |
I can help with this one, as spent some time implementing FullCalendar with Next.js and Blitz! The reason for the error is that the example which FullCalendar provides is using const withTM = require("next-transpile-modules")(["@fullcalendar"]) However, since then, [email protected] was released, which dropped support for the regex method, instead requiring you to explicitly list all the packages you want it to target. const withTM = require("next-transpile-modules")([
"@fullcalendar/common",
"@fullcalendar/react",
"@fullcalendar/daygrid",
"@fullcalendar/timegrid",
]) The FullCalendar example is just out of date, and needs to be updated to match the new version of @flybayer you can close this, as it's unrelated to Blitz 👍 |
I looked into updating the FullCalendar example with a PR, but looks like one is already open since March and has been ignored, so looks like they won't be updating it any time soon 👎 |
Thanks for that info. I'll go ahead and close the issue |
What is the problem?
I am trying to get FullCalendar to work with Blitz.js. FullCalendar has documentation on how to get it to work with Next.js, which I am trying to follow, but when I went to add
next-transpile-modules
and transpile FullCalendar, it ran into this error. It seems that whennext-transpile-modules
looks for the library, it can't find it in the build.FullCalendar Instructions here: https://github.com/fullcalendar/fullcalendar-example-projects/tree/master/next
Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
@fullcalendar/core
,@fullcalendar/daygrid
,@fullcalendar/react
,next-transpile-modules
,babel-plugin-transform-require-ignore
babel-config.js
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response
The text was updated successfully, but these errors were encountered: