mohebifar / mohebifar/racket

Exception running yo racket

Open
#8 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
288
Forks
13
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported yo racket command with the stated Node.js and npm versions, then start at /usr/lib/node_modules/yo/lib/router.js and the generator-racket installation. Trace why yeoman-environment cannot be resolved; done means the command starts without this module error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.