We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I expect that when running from command line utilizing Nodejs 12.13.1 that the command depngn 12.13.1 will not crash
depngn 12.13.1
It throws an error about not being able to find module 'fs/promises'
npm i -g depngn
I use a node version manager or windows and have depngn installed globally with node v12.13.1
npm
internal/modules/cjs/loader.js:800 throw err; ^ Error: Cannot find module 'fs/promises' Require stack: - C:\Users\someuser\bin\nvm\v12.13.1\node_modules\depngn\dist\cli.cjs - C:\Users\someuser\bin\nvm\v12.13.1\node_modules\depngn\bin\depngn.cjs at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15) at Function.Module._load (internal/modules/cjs/loader.js:690:27) at Module.require (internal/modules/cjs/loader.js:852:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.<anonymous> (C:\Users\someuser\bin\nvm\v12.13.1\node_modules\depngn\dist\cli.cjs:8:16) at Module._compile (internal/modules/cjs/loader.js:959:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10) at Module.load (internal/modules/cjs/loader.js:815:32) at Function.Module._load (internal/modules/cjs/loader.js:727:14) at Module.require (internal/modules/cjs/loader.js:852:19) { code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\\Users\\someuser\\bin\\nvm\\v12.13.1\\node_modules\\depngn\\dist\\cli.cjs', 'C:\\Users\\someuser\\bin\\nvm\\v12.13.1\\node_modules\\depngn\\bin\\depngn.cjs' ] }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Expected Behavior
I expect that when running from command line utilizing Nodejs 12.13.1 that the command
depngn 12.13.1
will not crashActual Behavior
It throws an error about not being able to find module 'fs/promises'
Steps to Reproduce
npm i -g depngn
)depngn 12.13.1
Additional Information
I use a node version manager or windows and have depngn installed globally with node v12.13.1
What package manager are you seeing the problem with?
npm
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: