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

What is Framer? Join the Community
Return to index
Nadja Weber
Posted May 29 - Read on Facebook

Hi, I'm trying to include the node.js module following this link . However when I add the line "socket = require("npm").socket" to my framer script I get some errors, e.g. [Error] Error: Module npm can't be found
require (FramerStudioViewer.js, line 3127)
I followed the doc above so I don't understand what's going on here.


Eelco Lempsink

Hi Nadja, did you create the ‘’ file in the ‘modules’ folder? (the 2nd code snippet in the docs)

Nadja Weber

Hej Eelco, yes I did. When i copy the exact example code (with the moment module) it actually works. only when i switch to include it fails.

Read the entire post on Facebook