This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Utsav Shah
Posted Dec 19 - Read on Facebook

Hello, I can't import a module with npm. Everytime I try it, I get cannot find module 'npm' error. Here's how I have my folder structure. And I am following the example on Framer docs. Can somebody point out what I am missing here?

Background - I have NodeJs installed in C drive path. I have a localhost server running on port 8000. So, its not the file permissions issue here. My file has the following line -
exports.moment = require "moment"