Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Cannot find module 'underscore' #218

Closed
sebastiancarlsson opened this issue Jul 11, 2016 · 0 comments
Closed

Cannot find module 'underscore' #218

sebastiancarlsson opened this issue Jul 11, 2016 · 0 comments

Comments

@sebastiancarlsson
Copy link

I'm new to Keystone and just tried this generator for the first time. When I run node keystone I get

module.js:327
    throw err;

Error: Cannot find module 'underscore'

Steps to reproduce:

  1. Run yo keystone with the following configuration
    screen shot 2016-07-11 at 12 06 19
  2. Run node keystone

Searching through the generated files I can find references to underscore in templates/views/helpers/index.js.

Workaround:
npm install --save underscore will fix this problem

radiovisual added a commit to radiovisual/generator-keystone that referenced this issue Jul 28, 2016
mxstbr added a commit that referenced this issue Jul 28, 2016
add underscore to package.json template. Closes #218
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants