generator-keystone
generator-keystone copied to clipboard
Generator npm install error
I just installed the latest version of the generator and I get the following error with npm install...
(node:2349) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. npm WARN deprecated [email protected]: letsencrypt-express has been renamed to greenlock-express and will now be maintained as such. npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v6.9.2 npm ERR! npm v3.10.9
npm ERR! Invalid name: "@types/express"
I'm using node version 6.9.2 and I chose the following options for the generator...
Templates: Nunjucks
CSS Preprocessor: sass
Include Blog: Y
Gallery: Y
Contact Form: Y
User Model: User
Email Config: Y
mailgun API:
When I cd into the folder and run "node keystone" I get the following error...
module.js:471 throw err; ^
Error: Cannot find module 'dotenv'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.
Hi @seansheds, I just attempted this using node 6.9.2 and encountered no errors. Can you provide any more information about your environment? Version of yo generator, operating system?
Thanks for looking into it @Noviny. Version of yo generator is latest - 0.5.1 and I'm on OS X 10.10.5
I listed all the generator options above so I'm not sure what other info would be useful. I did try uninstalling the generator and reinstalling but got the same result. I also thought maybe it was the template system I chose so I tried creating projects with both hbs and pug and got the same error.
I just switched node to 6.10.2 and still got the same errors.