Custom Package

Hi folks,

I have thought I’d use this 2nd (or third, I lost count actually) Lockdown to build another Website with frontity.

It’s all fun, I am almost done with it, but at the moment one of the Issues is that I tried to move my changes to an own theme-package, (also tried to publish it to NPMjs) but since I did that I get the following error when deploying it on Vercel:

  TypeError: Cannot read property 'add' of undefined
      at t.n.init (/var/task/index.js:240:33955)
      at t.n.render (/var/task/index.js:240:34017)
      at o (/var/task/index.js:216:11783)
      at ke (/var/task/index.js:216:12057)
      at e.t.render (/var/task/index.js:216:14573)
      at (/var/task/index.js:216:14149)
      at renderToString (/var/task/index.js:216:19750)
      at /var/task/index.js:262:17068
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
      at async /var/task/index.js:69:3977

The URL to the deployment is and the sandbox is at

Any chance somebody could tak a look at it?

Edit: Fixed the Sandbox


I recreated the frontity project from scratch now it seems to work perfectly

1 Like

Great @phn!

Happy to see you were able to fix your issue.
In case you want learn more Frontity maybe this Step-by-step tutorial may be helpful as it guides you through the process of creating your own custom theme using WordPress data

1 Like