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 ide-python package #358

Closed
Obaidurr opened this issue Jul 13, 2021 · 1 comment
Closed

Failed to activate the ide-python package #358

Obaidurr opened this issue Jul 13, 2021 · 1 comment

Comments

@Obaidurr
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.57.0 ia32
Electron: 9.4.4
OS: Microsoft Windows 10 Home
Thrown From: ide-python package 1.9.3

Stack Trace

Failed to activate the ide-python package

At Cannot find module 'C:\Users\K vai\.atom\packages\ide-python\node_modules\atom-languageclient\node_modules\vscode-jsonrpc\lib\node\main.js'. Please verify that the package.json has a valid "main" entry

Error: Cannot find module 'C:\Users\K vai\.atom\packages\ide-python\node_modules\atom-languageclient\node_modules\vscode-jsonrpc\lib\node\main.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:301:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:532:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:784:27)
    at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
    at Function.get_Module._resolveFilename (<embedded>:11:157820)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (<embedded>:11:149153)
    at /packages/ide-python/node_modules/atom-languageclient/build/lib/auto-languageclient.js:14:13)
    at /packages/ide-python/node_modules/atom-languageclient/build/lib/auto-languageclient.js:896:3)
    at Module.get_Module._compile (<embedded>:11:149837)
    at Object.value [as .js] (<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 (<embedded>:11:149153)
    at /packages/ide-python/node_modules/atom-languageclient/build/lib/main.js:18:31)
    at /packages/ide-python/node_modules/atom-languageclient/build/lib/main.js:35:3)
    at Module.get_Module._compile (<embedded>:11:149837)
    at Object.value [as .js] (<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 (<embedded>:11:149153)
    at /packages/ide-python/dist/main.js:13:5)
    at /packages/ide-python/dist/main.js:149:3)
    at Module.get_Module._compile (<embedded>:11:149837)
    at Object.value [as .js] (<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 (<embedded>:1:802772)
    at requireModule (<embedded>:14:1191588)
    at Package.requireMainModule (<embedded>:11:3520819)
    at Package.activateNow (<embedded>:11:3508803)
    at <embedded>:14:2607
    at Function.simpleDispatch (<embedded>:11:1186190)
    at Emitter.emit (<embedded>:11:1187631)
    at PackageManager.triggerDeferredActivationHooks (<embedded>:11:385941)
    at <embedded>:11:384692

Commands

Non-Core Packages

atom-python-run 0.9.7 
build-python 0.15.0 
buildium 0.75.3 
busy-signal 2.0.1 
ide-python 1.9.3 
python-black 0.7.0 
python-debugger 0.2.0 
python-tools 0.6.9 
@aminya
Copy link
Member

aminya commented Jul 13, 2021

Please re-download. This is an apm issue

apm uninstall ide-python

Clear your cache then

apm install ide-python

atom/apm#919

@aminya aminya closed this as completed Jul 13, 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