0

I am running a node.js server but while running it, i am getting following error. what could be the possible reason?error pic is attached

  • Hello @suman, please provide more information about which tutorial you follow and what you are trying to do? – Mahesh Rajput Dec 27 '18 at 7:15
  • i have solved the earlier issue. i have send some token using the front end. but then in console it shows "Error: [number-to-bn] while converting number true to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported. Given value: "true"" and then exited the console. – Suman Raj Dec 27 '18 at 7:37
  • you have to update your question with new error and maybe this error cause because of you didn't provide default account or unlock account for transfer token. – Mahesh Rajput Dec 27 '18 at 7:51
  • The reason is you trying to access x.encodeParameters, when x is undefined. – goodvibration Dec 27 '18 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.