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 "../../../desktop/Bonfir... #296

Open
depalmafarr opened this issue Sep 24, 2020 · 2 comments

Comments

@depalmafarr
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.51.0 x64
Electron: 5.0.13
OS: Mac OS X 10.12.6
Thrown From: linter-markdown package 5.2.11

Stack Trace

Uncaught RangeError: path should be a path.relative()d string, but got "../../../desktop/Bonfire/challenge/README.md"

At /Users/brandondepalmafarr/.atom/packages/linter-markdown/node_modules/ignore/index.js:337

RangeError: path should be a `path.relative()`d string, but got "../../../desktop/Bonfire/challenge/README.md"
    at throwError (/packages/linter-markdown/node_modules/ignore/index.js:337:9)
    at checkPath (/packages/linter-markdown/node_modules/ignore/index.js:356:12)
    at Ignore._test (/packages/linter-markdown/node_modules/ignore/index.js:473:5)
    at Ignore.ignores (/packages/linter-markdown/node_modules/ignore/index.js:512: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 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

     -0:37.6.0 core:paste (input.hidden-input)
     -0:16.1.0 linter-ui-default:toggle-panel (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
  3x -0:06.3.0 core:backspace (input.hidden-input)

Non-Core Packages

aligner 1.2.4 
aligner-css 1.2.1 
aligner-javascript 1.3.0 
aligner-ruby 1.7.0 
aligner-scss 1.3.1 
atom-beautify 0.33.4 
atom-live-server 2.3.0 
atom-sass 0.4.0 
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 
ruby-block 0.3.6 
sort-lines 0.19.0 
standardjs-snippets 2.6.2 
tidy-html5 0.2.1 
@AlexWayfer
Copy link

I think it's a duplicate of #294, #293, #290, #282, #258, #257 and #254.

@s-light
Copy link

s-light commented Jan 18, 2022

discussion is happening in the first one: #254

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

3 participants