-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
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
Module cannot be found , npm I —dev-save @types/coinselect #85
Comments
Please post your versions for node, npm, etc. and create a minimal reproduction that we can try to reproduce. |
Npm v 9.8.0 this is the error it gives below Could not find a declaration file for module 'coinselect'. 'c:/Users/USER/Desktop/Richie_Exchange/node_modules/coinselect/index.js' implicitly has an 'any' type. /////////////222/////// { ////////://::::::::::::::::://////// import bitcoin, { Psbt } from 'bitcoinjs-lib'; const ECPair = ECPairFactory.ECPairFactory(ecc); import btcFunctions from './function/bitcoin_service.js'; const createTransactionTX = { async CreateTX(publicKeyFrom, privateKeyFrom, publicKeyTo, changeAddress, amoutTosend, network) {
} } export default createTransactionTX; please check if I am doing anything wrong I am a new bie |
My coinselect module was working fine but two days ago it starts telling me module cannot be found , I have tried everything including adding js extensions to the module import , nothing seems to be working, I am using an esm module type in my package.json file , every other module is importing fine including bitcoinjs-lib but only coinselect and please is there any better alternative
The text was updated successfully, but these errors were encountered: