racket icon indicating copy to clipboard operation
racket copied to clipboard

Exception running yo racket

Open mclouvem opened this issue 7 years ago • 3 comments

I've just installed yo and generator-racket and I got "Cannot find module 'yeoman-environment'" error after I ran the yo racket.

I'm running it in a linux machine, node version 6.2.2, NPM version 3.10.3

$ yo racket module.js:442 throw err; ^

Error: Cannot find module 'yeoman-environment' at Function.Module._resolveFilename (module.js:440:15) at Function.Module._load (module.js:388:25) at Module.require (module.js:468:17) at require (internal/module.js:20:19) at Object. (/usr/lib/node_modules/yo/lib/router.js:9:23) at Module._compile (module.js:541:32) at Object.Module._extensions..js (module.js:550:10) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3)

mclouvem avatar Jul 06 '16 18:07 mclouvem

That's weird. I tried with those Node and NPM versions but I couldn't reproduce the error.

mohebifar avatar Aug 01 '16 16:08 mohebifar

Could not reproduce this too. this should be closed

sankhasp avatar Aug 02 '16 04:08 sankhasp

@mclouvem please check your yo installation. this is an error related to yeoman: https://github.com/yeoman/yeoman/issues/1569

AienTech avatar Aug 03 '16 14:08 AienTech