Failed to activate the ide-python package
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, python
调研方向
首先检查该包的入口点 dist/main.js,以及激活堆栈跟踪中引用的缺失模块 ./debugger/main。使用 ide-python 1.9.7 在 Atom 1.60.0 和 Windows 10 上重现激活过程,然后确认该包能够在不出现 Cannot find module 错误的情况下完成激活。
由索引模型根据 Issue 内容生成。
描述
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: <https://github.com/issues?q=is%3Aissue user%3Aatom>
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Steps to Reproduce
Expected behavior:
Actual behavior:
Versions
Atom: 1.60.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Pro
Thrown From: ide-python package 1.9.7
Stack Trace
Failed to activate the ide-python package
At Cannot find module './debugger/main'
Require stack:
- C:\Users\dell\.atom\packages\ide-python\dist\main.js
- C:\Users\dell\AppData\Local\atom\app-1.60.0\resources\app.asar\static\index.html
Error: Cannot find module './debugger/main'
Require stack:
- C:\Users\dell\.atom\packages\ide-python\dist\main.js
- C:\Users\dell\AppData\Local\atom\app-1.60.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.60.0/resources/app/static/<embedded>:11:157942)
at Module.require (/app.asar/static/index.js:61:43)
at require (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:149229)
at /packages/ide-python/dist/main.js:3:13)
at /packages/ide-python/dist/main.js:174:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:149913)
at Object.value [as .js] (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:153507)
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.60.0/resources/app/static/<embedded>:1:802772)
at requireModule (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:1175135)
at Package.requireMainModule (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3543231)
at Package.activateNow (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3531230)
at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2607
at Function.simpleDispatch (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1187666)
at Emitter.emit (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1189107)
at PackageManager.triggerDeferredActivationHooks (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:386501)
at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:385252
at TextEditorRegistry.updateAndMonitorEditorSettings (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:516355)
Commands
Non-Core Packages
ide-python 1.9.7
Additional Information
- 主要语言
- 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
-
难度 2/5 1-3 小时 新手友好度 65/100
antfu-collective/icones#398 ·
-
ECmail.com 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
wesbos/burner-email-providers#554 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
radiantearth/stac-browser#1023 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
components-web-app/docs#92 ·