I have these two lines of code to unlock the default account, But i keep on getting error , tough the require path points to proper directory of web3-eth-personal,
var personal = require('./node_modules/web3-eth-personal/'); personal.unlockAccount(web3.eth.defaultAccount)
web3.min.js:1 Uncaught Error: Cannot find module './node_modules/web3-eth-personal/' at o (web3.min.js:1) at o (web3.min.js:1) at Index2.html:49
The thing is that iam able to call a function which reads value from contract, but trying to set value in contract is problem. my contract is on Ropsten test network.