Git Product home page Git Product logo

vale-atom's People

Contributors

dependabot[bot] avatar jdkato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

isabella232

vale-atom's Issues

Failed to load the vale-server package

[Enter steps to reproduce:]

  1. ...I installed the prerequisite Vale Server and linter (with Cow powers) package.
  2. I installed vale-server package and restarted Atom.
    image
    This action produces the following error:
    image

Atom: 1.58.0 x64
Electron: 9.4.4
OS: linux 5.4.0-107-generic
Thrown From: vale-server package 1.8.0

Stack Trace

Failed to load the vale-server package

At Unexpected token 'export'

/home/rolfedh/.var/app/io.atom.Atom/data/packages/vale-server/node_modules/url-join/lib/url-join.js:60
export default function urlJoin() {
^^^^^^

SyntaxError: Unexpected token 'export'
    at new Script (vm.js:84:7)
    at NativeCompileCache.runInThisContext (/app/share/atom/resources/app/static/<embedded>:11:148814)
    at Module.get_Module._compile (/app/share/atom/resources/app/static/<embedded>:11:149668)
    at Object.value [as .js] (/app/share/atom/resources/app/static/<embedded>:11:153485)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/app/share/atom/resources/app/static/<embedded>:11:149207)
    at /packages/vale-server/lib/init.coffee:4:11)
    at /packages/vale-server/lib/init.coffee:1:1)
    at /packages/vale-server/lib/init.coffee:1:1)
    at Module.get_Module._compile (/app/share/atom/resources/app/static/<embedded>:11:149891)
    at Object.value [as .coffee] (/app/share/atom/resources/app/static/<embedded>:11:153485)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:74:18)
    at customRequire (/app/share/atom/resources/app/static/<embedded>:1:756277)
    at requireModule (/app/share/atom/resources/app/static/<embedded>:14:1195620)
    at Package.requireMainModule (/app/share/atom/resources/app/static/<embedded>:11:3400284)
    at /app/share/atom/resources/app/static/<embedded>:11:3386824
    at Package.measure (/app/share/atom/resources/app/static/<embedded>:11:3385624)
    at Package.load (/app/share/atom/resources/app/static/<embedded>:11:3386397)
    at PackageManager.loadAvailablePackage (/app/share/atom/resources/app/static/<embedded>:11:384186)
    at PackageManager.loadPackage (/app/share/atom/resources/app/static/<embedded>:11:382914)
    at PackageManager.activatePackage (/app/share/atom/resources/app/static/<embedded>:11:385486)
    at /app/share/atom/resources/app/static/<embedded>:11:915033
    at r (/app/share/atom/resources/app/static/<embedded>:11:909639)
    at n (/app/share/atom/resources/app/static/<embedded>:14:1194943)
    at /app/share/atom/resources/app/static/<embedded>:14:1195097
    at Socket.<anonymous> (/app/share/atom/resources/app/static/<embedded>:14:1193699)
    at Socket.emit (events.js:228:7)
    at Pipe.<anonymous> (net.js:664:12)

Commands

Non-Core Packages

vale-server 1.8.0 

Uncaught TypeError: The "path" argument must be of type string. Received type undefined

[Enter steps to reproduce:]

  1. Upgraded to Vale 1.5.
  2. Open atom.
  3. Open markdown file.
  4. Vale no longer works in atom using the same settings as 1.4

Atom: 1.47.0 x64
Electron: 5.0.13
OS: Microsoft Windows 10 Enterprise
Thrown From: vale-server package 1.5.0

Stack Trace

Uncaught TypeError: The "path" argument must be of type string. Received type undefined

At internal/validators.js:105

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:105:11)
    at Object.join (path.js:372:7)
    at Request._callback (/packages/vale-server/lib/init.coffee:128:34)
    at Request.self.callback (/packages/vale-server/node_modules/request/request.js:185:22)
    at Request.emit (events.js:194:13)
    at /packages/vale-server/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:194:13)
    at /packages/vale-server/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:282:20)
    at IncomingMessage.emit (events.js:199:15)
    at endReadableNT (_stream_readable.js:1141:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)

Commands

     -0:26 intentions:highlight (input.hidden-input)
     -0:25.9.0 core:save (input.hidden-input)
     -0:19 intentions:highlight (input.hidden-input)
     -0:18.9.0 core:save (input.hidden-input)

Non-Core Packages

atom-live-server 2.3.0 
atomic-vale 1.9.0 
busy-signal 2.0.1 
copy-find-results 0.2.0 
devmind-beautifier 1.3.0 
duplicate-removal 0.1.3 
emmet 2.4.3 
gfm-pdf 0.3.5 
intentions 1.1.5 
jsonlint 1.1.4 
line-ending-converter 1.3.2 
linter 2.3.1 
linter-just-say-no 0.7.5 
linter-markdown 5.2.10 
linter-proselint 3.3.0 
linter-spell 0.15.0 
linter-ui-default 1.8.1 
linter-write-good 0.9.3 
markdown-to-html 0.5.0 
mr-markdown-pdf 1.6.0 
pandoc-convert 1.1.1 
pandoc-pdf 0.1.0 
platformio-ide-terminal 2.10.0 
pp-markdown 0.0.2 
pretty-json 2.1.2 
split-diff 1.6.1 
status-stats-jbrains 0.6.0 
test undefined 
toggle-gutter 0.3.4 
vale-server 1.5.0 

Vocab not recognised

Hi,

I installed the Vale Server package for atom. Though for some reason the atom package does not recognise spellings I added to a vocab via the dashboard.

I'm not sure what's going wrong here... So any help would be appreciated!
Ta Tom

BTW I'm using Arch Linux.

False positive for capitalisation

I've added the term "technicity" to a vocab for a project though its capitalisation after a full stop is incorrectly highlighted as an error. For example:

"Here, my use of technicity does not generate an error. Technicity, after a full stop, does generate an error in this instance."

How do I prevent this from being highlighted as an error?

Does this project make "atomic-vale" obsolete?

I am wondering if there still is a use case "atomic-vale", given this package. Also, if atomic-vale is still relevant, I'd be happy to move it over/handover ownership if you think this makes sense.

Uncaught SyntaxError: Unexpected end of JSON input

  1. Create a nested UL list under a H1 heading.
  2. Change the bulleted list into H2s.
  3. Also, generally, save the .md file. Error is thrown during saves, too.

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Microsoft Windows 10 Enterprise
Thrown From: vale-server package 1.4.0

Stack Trace

Uncaught SyntaxError: Unexpected end of JSON input

At file:///C:/Users/Aaron.Thayer/AppData/Local/atom/app-1.40.1/resources/app.asar/static/index.html:1

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Request._callback (/packages/vale-server/lib/init.coffee:88:31)
    at Request.self.callback (/packages/atom-beautify/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at /packages/atom-beautify/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:182:13)
    at /packages/atom-beautify/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:273:13)
    at IncomingMessage.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1090:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Commands

     -0:32.3.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -0:31.9.0 markdown-writer:insert-new-line (input.hidden-input)
     -0:31.9.0 editor:newline (input.hidden-input)
     -0:30.6.0 core:move-down (input.hidden-input)
     -0:30.2.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -0:29.4.0 markdown-writer:insert-new-line (input.hidden-input)
     -0:29.4.0 editor:newline (input.hidden-input)
     -0:28.5.0 core:move-down (input.hidden-input)
     -0:28.2.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -0:27.7.0 markdown-writer:insert-new-line (input.hidden-input)
     -0:27.7.0 editor:newline (input.hidden-input)
 12x -0:26.3.0 core:move-up (input.hidden-input)
     -0:18.1.0 intentions:highlight (input.hidden-input)
     -0:17.8.0 core:save (input.hidden-input)
     -0:07.3.0 intentions:highlight (input.hidden-input)
     -0:07.0 core:save (input.hidden-input)

Non-Core Packages

asciidoc-assistant 0.2.3 
asciidoc-image-helper 1.0.1 
asciidoc-preview 2.13.1 
atom-beautify 0.33.4 
atom-html-preview 0.2.6 
atom-live-server 2.3.0 
atom-wrap-in-tag 0.6.0 
atomic-chrome 0.3.3 
autocomplete-asciidoc 0.1.2 
busy-signal 2.0.1 
color-picker 2.3.0 
highlight-line 0.12.0 
insert-timestamp 0.2.4 
intentions 1.1.5 
language-asciidoc 1.11.0 
language-latex 1.2.0 
language-restructuredtext 1.1.2 
language-sphinx 0.1.9 
language-vba 0.2.5 
latex 0.50.2 
linter 2.3.1 
linter-textlint 5.0.0 
linter-ui-default 1.8.0 
markdown-pdf 2.2.0 
markdown-preview-enhanced 0.16.3 
markdown-writer 2.11.9 
multi-wrap-guide 1.1.8 
open-terminal-here 2.3.2 
pandoc-convert 1.1.1 
sphinx-preview 0.1.5 
Sublime-Style-Column-Selection 1.7.5 
sync-settings 0.8.6 
teletype 0.13.4 
vale-server 1.4.0 

Vale 1.9 update error: Uncaught TypeError: Cannot read property 'split' of undefined

I updated to Vale 1.9 after opening this ticket.
https://github.com/errata-ai/vale-server/issues/43

Vale installs and launches, but I now get an error in Atom

error2

Atom: 1.53.0 x64
Electron: 6.1.12
OS: Microsoft Windows 10 Enterprise
Thrown From: vale-server package 1.7.1

Stack Trace

Uncaught TypeError: Cannot read property 'split' of undefined

At C:\Users\brestivo\.atom\packages\vale-server\lib\init.coffee:20

TypeError: Cannot read property 'split' of undefined
    at handleJSON (/packages/vale-server/lib/init.coffee:20:26)
    at Request._callback (/packages/vale-server/lib/init.coffee:161:27)
    at Request.self.callback (/packages/vale-server/node_modules/request/request.js:185:22)
    at Request.emit (events.js:200:13)
    at /packages/vale-server/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:200:13)
    at /packages/vale-server/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:288:20)
    at IncomingMessage.emit (events.js:205:15)
    at endReadableNT (_stream_readable.js:1154:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)

Commands

 12x -4:50.4.0 intentions:highlight (input.hidden-input)
     -4:49.6.0 settings-view:open (input.hidden-input)
     -4:42.4.0 core:confirm (input.hidden-input)
     -4:36.4.0 core:save (div.package-detail)
     -4:34 intentions:highlight (input.hidden-input)
     -4:34 core:save (input.hidden-input)

Non-Core Packages

atom-live-server 2.3.0 
atomic-vale 1.9.0 
busy-signal 2.0.1 
copy-find-results 0.2.0 
devmind-beautifier 1.3.0 
duplicate-removal 0.1.3 
emmet 2.4.3 
gfm-pdf 0.3.5 
intentions 1.1.5 
jsonlint 1.1.4 
line-ending-converter 1.3.2 
linter 2.3.1 
linter-just-say-no 0.7.5 
linter-markdown 5.2.11 
linter-proselint 3.3.0 
linter-spell 0.15.0 
linter-ui-default 1.8.1 
linter-write-good 0.9.3 
markdown-preview-enhanced 0.18.5 
markdown-to-html 0.5.0 
mr-markdown-pdf 1.6.0 
pandoc-convert 1.1.1 
pandoc-pdf 0.1.0 
platformio-ide-terminal 2.10.0 
pp-markdown 0.0.2 
pretty-json 2.1.2 
split-diff 1.6.1 
status-stats-jbrains 0.6.0 
test undefined 
toggle-gutter 0.3.4 
vale-server 1.7.1 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.