AmauryG13 / atom-freefem-runner

A small package to run FreeFem++ scripts in Atom
MIT License
1 stars 1 forks source link

Object.dirname is deprecated. #11

Open Junior5k opened 3 years ago

Junior5k commented 3 years ago

Argument to path.dirname must be a string

Object.dirname (C:\Users\junio\AppData\Local\atom\app-1.52.0\resources\app.asar\src\electron-shims.js:9:10)
currentFile (C:\Users\junio\.atom\packages\freefem-runner\lib\freefem-runner.js:34:29)
Object.launchCompilation (C:\Users\junio\.atom\packages\freefem-runner\lib\freefem-runner.js:110:12)
HTMLElement.freefemRunnerCompile (C:\Users\junio\.atom\packages\freefem-runner\lib\freefem-runner.js:78:22)
CommandRegistry.handleCommandEvent (<embedded>:11:350265)
KeymapManager.dispatchCommandEvent (<embedded>:11:1230852)
AmauryG13 commented 3 years ago

Hi, Thanks for your feedback 👍

Anymore information on the bug ? I cannot reproduce it on my computer !

On which platform you are working on ? Which version of Atom ? When the error is popping up ?

Junior5k commented 3 years ago

Hi, thank you for your answer ! I’m trying to work on Freefem++. I’m using Atom 1.53.0 . The error is popping up when I try to use freefem-runner

Provenance : Courrierhttps://go.microsoft.com/fwlink/?LinkId=550986 pour Windows 10

De : Amaury Guillerminmailto:notifications@github.com Envoyé le :lundi 11 janvier 2021 10:31 À : AmauryG13/atom-freefem-runnermailto:atom-freefem-runner@noreply.github.com Cc : Junior5kmailto:kouyate.junior@hotmail.com; Authormailto:author@noreply.github.com Objet :Re: [AmauryG13/atom-freefem-runner] Object.dirname is deprecated. (#11)

Hi, Thanks for your feedback 👍

Anymore information on the bug ? I cannot reproduce it on my computer !

On which platform you are working on ? Which version of Atom ? When the error is popping up ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AmauryG13/atom-freefem-runner/issues/11#issuecomment-757795884, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASNMF5EC4IR4F5XYWQL6VALSZLAPDANCNFSM4V4ZVGGA.

AmauryG13 commented 3 years ago

Did you follow the recommendations written in the README.md to run the command in the editor ?

I'm trying a quick fix, that will be available via an update !