Failed to activate the ide-python package
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- tooling
调研方向
从安装 ide-python 包及其 package.json 开始,重点关注 Atom 报告的缺失路径 vscode-languageserver-protocol/lib/node/main.js。检查 stack trace 中列出的 atom-languageclient 文件,并使用列出的 Atom 和包版本在 Windows 上复现激活过程。当 ide-python 激活时不再出现缺少模块的错误,即表示完成。
由索引模型根据 Issue 内容生成。
描述
[Enter steps to reproduce:]
- ...
- ...
Atom: 1.58.0 x64
Electron: 9.4.4
OS: Microsoft Windows 11 Home
Thrown From: ide-python package 1.9.7
Stack Trace
Failed to activate the ide-python package
At Cannot find module 'C:\Users\samdu\.atom\packages\ide-python\node_modules\vscode-languageserver-protocol\lib\node\main.js'. Please verify that the package.json has a valid "main" entry
Error: Cannot find module 'C:\Users\samdu\.atom\packages\ide-python\node_modules\vscode-languageserver-protocol\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 (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:157920)
at Module.require (/app.asar/static/index.js:61:43)
at require (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149207)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/languageclient.js:23:13)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/languageclient.js:552:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149891)
at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:153485)
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.58.0/resources/app/static/<embedded>:11:149207)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/convert.js:3:12)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/convert.js:209:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149891)
at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:153485)
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.58.0/resources/app/static/<embedded>:11:149207)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/auto-languageclient.js:17:22)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/auto-languageclient.js:952:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149891)
at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:153485)
at Module.load (internal/modules/cjs/loader.js:815:32)
Commands
Non-Core Packages
atom-ide-base 3.4.0
atom-ide-code-format 1.0.2
atom-ide-datatip 0.25.0
atom-ide-definitions 0.4.2
atom-ide-hyperclick 1.0.11
atom-ide-markdown-service 2.1.0
atom-ide-outline 3.2.0
atom-ide-signature-help 0.16.0
atom-live-server 2.3.0
busy-signal 2.0.1
Hydrogen 2.16.3
ide-python 1.9.7
intentions 2.1.1
kite 0.206.0
linter 3.4.0
linter-ui-default 3.4.1
script 3.32.2
- 主要语言
- JavaScript
- 星标
- 238
- 派生
- 41
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
atom-community/ide-python 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
atom-community/ide-python#575 · 5 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
atom-community/ide-python#570 · 2 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
atom-community/ide-python#568 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
atom-community/ide-python#567 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
atom-community/ide-python#566 ·
查看 atom-community/ide-python 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 78/100
Mintplex-Labs/anything-llm#6490 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
-
[quality] workflow-scripts guard reads test:unit:coverage as skipping the unit suite, blocking #632 未关闭agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
难度 2/5 1-3 小时 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
area-clientside-dartpad
难度 2/5 1-3 小时 新手友好度 62/100