TypeError: Cannot create property ‘constant’ on number ‘123’ web3js

I am trying to send transaction to my contract via node js but I am encountering many problems. This is my node js code: var Web3 = require(‘web3’); var web3 = new Web3(new Web3.providers.HttpProvider(‘http://localhost:7545’)); var myAddress = ‘0x4e5d87aB06D13a17E9f35dfC235B4fC70669151d’; var fs = require(‘fs’); var parsedABI = JSON.parse(fs.readFileSync(‘../abis/Marketplace.json’, ‘utf-8’)); var contractABI = fs.readFileSync(‘../abis/Marketplace.json’) var contractAddress = ‘0x15Cb1e185b0269fFd93516BE007B2aF4BA59f2F5’;…

Details