coala / coala/documentation

JS dependencies will not install correctly

Open
#471 4 comments 1 reaction 0 assignees View on GitHub
area/documentation bug difficulty/low hacktoberfest importance/high
Dominant language
Python
Stars
40
Forks
172
PR merge metrics
No merged PRs in 30d

Description

http://docs.coala.io/en/latest/Users/Install.html#js-dependencies states that you run `npm install -g` to install JS dependencies, however that only installs the coala-bears globally (which is useless) not each of the dependencies stated in [package.json](https://github.com/coala/coala-bears/blob/master/package.json) (e.g. eslint) globally.

When running `npm install -g` what's actually happening is:
- npm installs all dependencies stated in `package.json` locally (node_modules folder inside the project)
- npm creates a symlink to coala-bears folder inside their 'global dependencies folder' (try `npm root -g` to find where it actually is)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.