Error: Cannot find module 'keystone'

852 views
Skip to first unread message

Tarik Elbannany

unread,
Oct 12, 2016, 1:18:05 PM10/12/16
to Keystone JS
after installation of keystone
i run :
  1-  yo keystone
  2- npm install
  3- node keystone
and i got this

Error: Cannot find module 'keystone'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vagrant/remote/keystone.js:6:16)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)

any help plz ???

Ryan Cole

unread,
Oct 12, 2016, 3:20:51 PM10/12/16
to Keystone JS
Are you familiar with how the command line works? Are you sure your in the right directory?

Sorry if it's a dumb question. I'm in a pub and quite drunk. #techsupport

Tarik Elbannany

unread,
Oct 13, 2016, 5:18:59 AM10/13/16
to Keystone JS
yes i am in the right directory

waqas aslam

unread,
Oct 13, 2016, 4:43:37 PM10/13/16
to Keystone JS
Make sure you have Keystone, (for example: "keystone": "^0.3.16") in package.json under dependencies section.
Reply all
Reply to author
Forward
0 new messages