I’ve installed the ‘fibery-unofficial' npm package into a website . The docs for the package say to call it as:
const Fibery = require('fibery-unofficial')
I’ve done so in a new back-end Javascript Web module file. Problem is that I’m getting the red squiggly line under the package name, indicating (I guess) that Wix can’t find it.
Any ideas why this is happening? I’m not a pro developer, so please don’t assume too much knowledge on my part. I have built this same website before with Airtable; I’m trying to do the same now with Fibery.
Following up on this, I should have ignored the error and just tried some calls. In fact, it’s working fine. No idea why the editor thinks it’s not installed; but it appears to be fine, even with the “require” format. Though the “import” option works, too. I still have the red squiggly line, but I’ll just ignore it.