These are chat archives for rosshinkley/nightmare

24th
Nov 2017
jokyme
@jokyme
Nov 24 2017 05:55
大家好
doriansavage
@doriansavage
Nov 24 2017 11:26
hi
someone here ?
after npm install I got Cannot find module "nightmare"
running "node example.js"
Davide De Gennaro
@dege88
Nov 24 2017 11:44
did you use the command npm install nightmare?
doriansavage
@doriansavage
Nov 24 2017 11:53
yes I did
its ok now after -g
but when I run the script nothin happen
image.png
image.png
doriansavage
@doriansavage
Nov 24 2017 11:59
I was expecting see "Don!" or errors...
Davide De Gennaro
@dege88
Nov 24 2017 12:54
@doriansavage did you init your module?
npm init
Also try starting with a known example like: https://github.com/segmentio/nightmare/blob/master/example.js
doriansavage
@doriansavage
Nov 24 2017 13:03
I tried but same
I just created a fresh debian server on digitalOcean
@dege88 :)
ls
oups
new folder
npm init
npm install nightmare
nano example.js
node example.js
=> no outputs... :sa:
doriansavage
@doriansavage
Nov 24 2017 14:30
:(