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

What is Framer? Join the Community
Return to index
Adria Jimenez
Posted May 13 - Read on Facebook

Asking here, maybe someone has an idea :)

I have a project which has a module, that module has two lines:
test = require 'fs'
print test

The result is an empty object {}
Is the node filesystem module disabled for some reason in Framer or is it a bug?


Koen Bok

It's disabled. The browser does not have an fs module, that is part of the node.js api. There are some special browsers that combine both like Electron.

If you need to read a file in the browser you need to make an http request.

Read the entire post on Facebook