'casperjs, error: cannot find module 'Path'
hi I am getting the error 'error: cannot find module 'Path' after running a basic example of casperjs.
$ casperjs sample.js
$ phantomjs --version , returns 1.9.8
$ python --version , returns Python 3.5.0
$ casperjs , returns...
Error: cannot find module 'path'
phantomjs://bootstrap.js:289
phantomjs://boostrap.js:254 in require
bunch of other lines of code....
CasperJS versions 1.1.0beta
So it is even saying Casperjs is loaded! argggg. Been at this stupid thing for hours.................................. Please god someone, someone ........
Solution 1:[1]
Missing this package in Linux
apt install fontconfig -y
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Michiko |
