I'm trying to import the library shake.js into Framer through npm, but I'm getting this error. Does anybody knows what's going on?
I'm following this: https://framer.com/docs/#modules.npm
did you install npm or node.js? maybe it needs to be done first? (I never tried this though. :)
Sorry, the installation through NPM is not the problem, I should've been more clear. The problem is when importing/requiring…
I just tried it and it seems like there need to be npm.coffee in modules folder which contains this.
exports.Shake = require "shake.js"
did you do it? after having this, I have no problem with importing. good to know about this btw. thanks! :)