curran / curran/jspm-mocha-example

Duplicate devDependencies?

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Why do you duplicate your dependencies for `npm` in your `package.json`? I tried getting this to work on my end just using `jspm`, but Mocha running globally or from my `jspm_packages` folder couldn't find commander and "babel/register".

Once you I copied the `devDependencies` like you did in my `package.json`, and ran `npm install`, everything worked. How come I can't just use jspm?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with package.json and reproduce the reported setup using jspm, globally installed Mocha, and Mocha from jspm_packages. Trace how commander and babel/register are resolved, then confirm whether the dependency configuration needs a code or documentation change and define done as a working, clearly explained setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing, 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.