I'm using nightmare.js to make a bot that should perform the following tasks:
Once I get into fb and successfully login, no content is loaded except from the bluebar:
Nightmare uses electron, which's Devtools throws following errors:
Note this is a self answered question, please, do not remove the answer. You may downvote it if, with some reasonable argument, you don´t agree with it or have a better proposal.
Following this solution: https://github.com/segmentio/nightmare/issues/1082#issuecomment-312115976
In your app folder, go to \node_modules\nightmare\lib\preload.js Lines 50 and 55: change
writable: false,
to
writable: true,