atom-community / atom-script

:runner: Run ( scripts | selections | source ) in Atom
https://atom.io/packages/script
MIT License
733 stars 269 forks source link

Failed to activate the script package #2558

Open Mohebjami opened 3 years ago

Mohebjami commented 3 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.57.0 x64 Electron: 9.4.4 OS: Microsoft Windows 10 Pro Thrown From: script package 3.32.2

Stack Trace

Failed to activate the script package

At Cannot find module 'inflight'
Require stack:
- C:\Users\Moheb Jami\.atom\packages\script\node_modules\glob\glob.js
- C:\Users\Moheb Jami\.atom\packages\script\node_modules\temp\node_modules\rimraf\rimraf.js
- C:\Users\Moheb Jami\.atom\packages\script\node_modules\temp\lib\temp.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\grammar-utils.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\grammars\index.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\grammars.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\code-context-builder.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\script.js
- C:\Users\Moheb Jami\AppData\Local\atom\app-1.57.0\resources\app.asar\static\index.html

Error: Cannot find module 'inflight'
Require stack:
- C:\Users\Moheb Jami\.atom\packages\script\node_modules\glob\glob.js
- C:\Users\Moheb Jami\.atom\packages\script\node_modules\temp\node_modules\rimraf\rimraf.js
- C:\Users\Moheb Jami\.atom\packages\script\node_modules\temp\lib\temp.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\grammar-utils.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\grammars\index.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\grammars.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\code-context-builder.js
- C:\Users\Moheb Jami\.atom\packages\script\lib\script.js
- C:\Users\Moheb Jami\AppData\Local\atom\app-1.57.0\resources\app.asar\static\index.html
    at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
    at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:157820)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:149153)
    at /packages/script/node_modules/glob/glob.js:56:16)
    at /packages/script/node_modules/glob/glob.js:790:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:149837)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:153385)
    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 (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:149153)
    at /packages/script/node_modules/temp/node_modules/rimraf/rimraf.js:7:12)
    at /packages/script/node_modules/temp/node_modules/rimraf/rimraf.js:366:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:149837)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:153385)
    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 (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:149153)
    at /packages/script/node_modules/temp/lib/temp.js:6:18)
    at /packages/script/node_modules/temp/lib/temp.js:328:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:149837)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.57.0/resources/app/static/<embedded>:11:153385)
    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)

Commands

Non-Core Packages

script 3.32.2 
Mohebjami commented 3 years ago

print("Moheb jami")