小编dbl*_*bld的帖子

在循环依赖中访问模块导出的不存在的属性“padLevels”

我只是> npm i -g phonegap@9.0.0> phonegap --version
它不仅说9.0.0而且还说:

(node:18392) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Run Code Online (Sandbox Code Playgroud)

当我> node --trace-warnings ...,我得到这个:

internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module 'C:\Users\twori\...'
[90m    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)[39m
[90m    at Function.Module._load (internal/modules/cjs/loader.js:725:27)[39m
[90m    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)[39m
[90m    at internal/main/run_main_module.js:17:47[39m {
  code: [32m'MODULE_NOT_FOUND'[39m,
  requireStack: []
}
Run Code Online (Sandbox Code Playgroud)

我只安装并检查版本。为什么phonegap模块会抛出这个错误?
我的老师和其他学生对此很满意,但只有我无能为力。

node.js npm

21
推荐指数
3
解决办法
6万
查看次数

Tab 不 Tab 并让我输出代码

我正在 Visual Studio Code 上处理ipynb文件。(与 Github Copilot 一起)

我认为当我在代码块中按下按键时,它会提供选项卡Copilot 自动完成功能。Tab

但它没有,并让我出了代码块 - 就像我Tab在网页中使用时一样。

我检查了键盘快捷键设置,但我得到的只是以下内容:

Emmet: Expand Abbreviation
accptSelectedSuggestion
editor.action.inlineSuggest.commit
insertBestCompletion
insertNextSuggestion
insertSnippet
jumpToNextSnippetPlaceholder
tab
Run Code Online (Sandbox Code Playgroud)

我不知道如何解决这个问题。如何防止Tab将我从代码块中弹出?

keyboard-shortcuts visual-studio-code jupyter-notebook github-copilot

11
推荐指数
1
解决办法
2997
查看次数