Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Error: Cannot find module 'fs/promises' #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const fs = require('fs/promises')
const fs = require("fs").promises
const {F_OK} = require('fs')

const inquirer = require('inquirer')
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// This file contains the main entry point for the command line `minty` app, and the command line option parsing code.
// See minty.js for the core functionality.

const fs = require('fs/promises')
const path = require('path')
const {Command} = require('commander')
const inquirer = require('inquirer')
Expand Down
2 changes: 1 addition & 1 deletion src/minty.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const fs = require('fs/promises')
const fs = require("fs").promises
const path = require('path')

const CID = require('cids')
Expand Down