I couldn't find any resources online explaining why I'm running into this issue, even [the official Node JS docs / API reference](https://nodejs.org/dist/latest-v10.x/docs/api/fs.html#fs_fs_createwritestream_path_options) say that createWriteStream is a method in fs:

> 
> fs.createWriteStream(path[, options])[src]#
> 
> 
> 

All other stack overflow questions I found were people who were accidentally trying to access fs from the browser. **So just to clarify, I am using Node!!**

Example Code:

```js
import fs from 'fs/promises'

let ws = fs.createWriteStream("example.png")

```

Example code output:

```
file:///workspace/buz/src/error.js:3
let ws = fs.createWriteStream("example.png")
            ^

TypeError: fs.createWriteStream is not a function
    at file:///workspace/buz/src/error.js:3:13
    at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
    at async loadESM (node:internal/process/esm_loader:88:5)
    at async handleMainPromise (node:internal/modules/run_main:61:12)

```

### Misc:

**Node version:** *v16.15.1*   

**OS:** *Mac OS*