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
basically can't initialize DKRCommands, it says
This expression is not constructable. Type 'typeof import(".../node_modules/dkrcommands/dist/index")' has no construct signatures.
my import is as follows:
import DKRCommands from "dkrcommands"
just npm install dkrcommands and paste basic example from documentation
npm install dkrcommands
1.0.0-beta.1
Linux
18.9.0
works
doesn't work
No response
The text was updated successfully, but these errors were encountered:
Hello, I haven't tested all parts of the documentation yet, and I apologize for this error. Correctly you should use:
import { DKRCommands } from "dkrcommands";
I will fix this in the documentation immediately.
Thank you for reporting this bug
Sorry, something went wrong.
Thanks, but i think i just copied it wrongly somehow or replaced the wokcommands import
import WOKCommands from 'wokcommands'
with
import DKRCommands from 'dkrcommands'
without a second thought anyway, it works now, closing the issue
No branches or pull requests
✏ Description
basically can't initialize DKRCommands, it says
my import is as follows:
👟 Reproduction steps
just
npm install dkrcommands
and paste basic example from documentation🔢 DKRCommands version
1.0.0-beta.1
💻 Operating system
Linux
🔢 Node.js version
18.9.0
👀 Expected behavior
works
😥 Actual behavior
doesn't work
📝 Relevant log output
No response
The text was updated successfully, but these errors were encountered: