Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Uncaught RangeError: path should be a path.relative()d string, but got "../../practices/full-st... #293

Open
Adanetx opened this issue Aug 5, 2020 · 1 comment

Comments

@Adanetx
Copy link

Adanetx commented Aug 5, 2020

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.48.0 x64
Electron: 5.0.13
OS: Ubuntu 18.04.4
Thrown From: linter-markdown package 5.2.11

Stack Trace

Uncaught RangeError: path should be a path.relative()d string, but got "../../practices/full-stack-project-practice/practice.md"

At /home/adane/.atom/packages/linter-markdown/node_modules/ignore/index.js:366

RangeError: path should be a `path.relative()`d string, but got "../../practices/full-stack-project-practice/practice.md"
    at throwError (/packages/linter-markdown/node_modules/ignore/index.js:366:9)
    at checkPath (/packages/linter-markdown/node_modules/ignore/index.js:385:12)
    at Ignore._test (/packages/linter-markdown/node_modules/ignore/index.js:502:5)
    at Ignore.ignores (/packages/linter-markdown/node_modules/ignore/index.js:541:17)
    at one (/packages/linter-markdown/node_modules/unified-engine/lib/finder.js:255:51)
    at handleIgnore (/packages/linter-markdown/node_modules/unified-engine/lib/finder.js:243:5)
    at done (/packages/linter-markdown/node_modules/unified-engine/lib/ignore.js:41:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at next (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:122:11)
    at /packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:140:18)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:247:13)

Commands

undefined -2:11.2.0 core:backspace (input.hidden-input)

Non-Core Packages

aligner 1.2.4 
aligner-css 1.2.1 
aligner-javascript 1.3.0 
aligner-scss 1.3.1 
atom-beautify 0.33.4 
busy-signal 2.0.1 
editorconfig 2.6.1 
emmet 2.4.3 
esformatter 3.0.0 
fixmyjs 1.4.1 
git-diff-details 1.4.0 
git-history 3.3.0 
git-plus 8.7.1 
intentions 1.1.5 
language-markdown 0.37.0 
less-than-slash 0.19.0 
linter 2.3.1 
linter-eslint 8.5.5 
linter-markdown 5.2.11 
linter-rubocop 2.5.7 
linter-sass-lint 1.9.0 
linter-tidy 2.4.0 
linter-ui-default 1.8.1 
markdown-writer 2.11.10 
open-in-browser 0.5.2 
pigments 0.40.2 
sort-lines 0.19.0 
standardjs-snippets 2.6.2 
tidy-html5 0.2.1 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants