M
M
mirikkingg2022-04-12 22:00:09
Node.js
mirikkingg, 2022-04-12 22:00:09

How to import fs?

When importing fs this is what I get
ff9942e487d0e854f3e6a72c99d12fc4.png
64a860531d982e6f6b1d983e1ff85ed5.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arseniy Sokolovsky, 2022-04-12
@SokolarGm

tryimport fs from './fs'

Y
Yuri Ivanov, 2022-04-12
@asvici

const fs = require('fs');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question