node_modules are not located correctly
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- vim
- Domain
- tooling
Research direction
Start in the implementation of rescript#UpdateProjectEnv and inspect how finddir() and getCwd() are combined. Reproduce the duplicated absolute path described in the issue and verify that the resulting node_modules path is correct without requiring users to remove getCwd() calls.
Written by the indexing model from the issue text.
Description
For some reason finddir returns the full path on my system so getCwd() . finddir() causes the path to be /Users/user/path/to/project//Users/user/path/to/project/node_modules/.... I had to remove getCwd() calls from rescript#UpdateProjectEnv() and it all works. It's probably something about my setup but I cannot figure it out.
- Dominant language
- Vim Script
- Stars
- 164
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rescript-lang/vim-rescript
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Add errorformat Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
rescript-lang/vim-rescript#74 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
rescript-lang/vim-rescript#67 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
rescript-lang/vim-rescript#66 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
All issues in rescript-lang/vim-rescript
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ScoopInstaller/Nonportable#639 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ScoopInstaller/Extras#18800 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
uqbar-project/website-wollok-ts#84 · 2 comments ·
-
on hold T: core-bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100