You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fse-emptydir it's not declared but is available in package.json
💻Your Environment
Node Version:
v12.16.1
fse-cli Version:
"@atao60/fse-cli": "0.0.39",
🔥 Exception or Error
npx fse-emptyDir ./build
Be gone rapscalian...
(node:49264) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
at Object.readdir (fs.js:846:10)
at go$readdir (/Volumes/Data/swagger-to-angular2/node_modules/@atao60/fse-cli/node_modules/graceful-fs/graceful-fs.js:202:23)
at Object.readdir (/Volumes/Data/swagger-to-angular2/node_modules/@atao60/fse-cli/node_modules/graceful-fs/graceful-fs.js:184:12)
at emptyDir (/Volumes/Data/swagger-to-angular2/node_modules/@atao60/fse-cli/node_modules/fs-extra/lib/empty/index.js:11:6)
at emptyDir (/Volumes/Data/swagger-to-angular2/node_modules/@atao60/fse-cli/node_modules/universalify/index.js:5:57)
at Object.job (/Volumes/Data/swagger-to-angular2/node_modules/@atao60/fse-cli/src/tasks/emptyDir.ts:33:5)
at doit (/Volumes/Data/swagger-to-angular2/node_modules/@atao60/fse-cli/src/wrapper.ts:11:12)
at cli (/Volumes/Data/swagger-to-angular2/node_modules/@atao60/fse-cli/src/cli.ts:6:5)
(node:49264) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:49264) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
🐞 Bug report
Description
When emptyDir launched, it fails with an error.
🔬 Minimal Reproduction
Execute:
fse-emptydir
it's not declared but is available inpackage.json
💻Your Environment
Node Version:
fse-cli Version:
🔥 Exception or Error
The text was updated successfully, but these errors were encountered: