Atom-script: Uncaught TypeError: Cannot read property 'replace' of undefined

Created on 29 Mar 2020  ·  21Comments  ·  Source: atom-community/atom-script

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.45.0 x64
Electron: 4.2.7
OS: Unknown Windows version
Thrown From: script package 3.25.0

Stack Trace

Uncaught TypeError: Cannot read property 'replace' of undefined

At C:\Users\夏凌宇\.atom\packages\script\lib\runner.js:137

TypeError: Cannot read property 'replace' of undefined
    at Runner.fillVarsInArg (/packages/script/lib/runner.js:137:17)
    at /packages/script/lib/runner.js:168:34
    at Array.map (<anonymous>)
    at Runner.args (/packages/script/lib/runner.js:168:18)
    at Runner.run (/packages/script/lib/runner.js:26:23)
    at Runtime.execute (/packages/script/lib/runtime.js:78:17)
    at HTMLElement.scriptRun (/packages/script/lib/script.js:98:40)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:349290)
    at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:1254747)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:1250881)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:284496)

Commands

     -0:42.4.0 script:run (input.hidden-input)

Non-Core Packages

script 3.25.0 
bug released

Most helpful comment

:tada: This issue has been resolved in version 3.29.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

All 21 comments

Same issue

same issue

Same issue :/

same issue ://///////////////////

same :"(

same here :'(

same issue

same issue

what is the programming language of the script you are trying to run?

I was trying to run C++ and i got that issue

I was trying to run Java

On Wed, Sep 2, 2020 at 12:41 AM kerrygip notifications@github.com wrote:

I was trying to run C++ and i got that issue


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rgbkrk/atom-script/issues/2082#issuecomment-685076317,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALOHJ7ZZV2I2ZOQRBZEOEI3SDVBN7ANCNFSM4LV6FAPA
.

same issue :(

Same issue. I don't know if this helps but the issue started for me after I changed the folder name. I was running a helloworld.c program and it worked fine yesterday and today after I changed the folder name it sent me here.

same issue:.....:(

^

same issue when i running C#

I had the same issue when I tried running gcc. However, I had forgotten I had uninstalled gcc.

Tip to others: make sure your command works in your terminal

same issue
LICENSE.txt
logo
logo-cropped

SAME ISSUE :((

:tada: This issue has been resolved in version 3.29.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Was this page helpful?
0 / 5 - 0 ratings