Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to activate the script package #2463

Closed
shubbot opened this issue May 5, 2021 · 1 comment
Closed

Failed to activate the script package #2463

shubbot opened this issue May 5, 2021 · 1 comment

Comments

@shubbot
Copy link

shubbot commented May 5, 2021

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.56.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Home Single Language
Thrown From: script package 3.31.1

Stack Trace

Failed to activate the script package

At Cannot find module './command-context'
Require stack:
- C:\Users\Shubh's PC\.atom\packages\script\lib\runtime.js
- C:\Users\Shubh's PC\.atom\packages\script\lib\script.js
- C:\Users\Shubh's PC\AppData\Local\atom\app-1.56.0\resources\app.asar\static\index.html

Error: Cannot find module './command-context'
Require stack:
- C:\Users\Shubh's PC\.atom\packages\script\lib\runtime.js
- C:\Users\Shubh's PC\.atom\packages\script\lib\script.js
- C:\Users\Shubh's PC\AppData\Local\atom\app-1.56.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.56.0/resources/app/static/<embedded>:11:157820)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:11:149153)
    at /packages/script/lib/runtime.js:17:23)
    at /packages/script/lib/runtime.js:252:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:11:149837)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.56.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.56.0/resources/app/static/<embedded>:11:149153)
    at /packages/script/lib/script.js:27:16)
    at /packages/script/lib/script.js:290:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:11:149837)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.56.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 (internal/modules/cjs/helpers.js:74:18)
    at customRequire (~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:1:802769)
    at requireModule (~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:14:1126115)
    at Package.requireMainModule (~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:11:3496608)
    at Package.activateNow (~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:11:3484592)
    at ~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:14:2607
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:11:1182710)
    at Emitter.emit (~/AppData/Local/atom/app-1.56.0/resources/app/static/<embedded>:11:1184151)

Commands

Non-Core Packages

ide-python 1.8.0 
script 3.31.1 
@aminya
Copy link
Member

aminya commented May 10, 2021

Please re-download. This is an apm issue

apm uninstall script

Clear your cache then

apm install script

atom/apm#919

@aminya aminya closed this as completed May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants