NativeScript / NativeScript/capacitor-docs
Error in using npm i @nativescript/capacitor plugin with Ionic 7 capacitor project
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 36
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
Followed the Installing @nativescript/capacitor steps for Ionic 7 capacitor app with this plugin but getting following error on running the cmd
npm run build:mobile
\node_modules.bin\build-nativescript:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1176:20)
at Module._compile (node:internal/modules/cjs/loader:1218:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
Node.js v18.16.0
ERROR: "build:nativescript" exited with 1.
Please share every minor step required to include for Ionic 7 capacitor project running on windows
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从“Installing @nativescript/capacitor”步骤开始,在使用 Node.js 18.16.0 的 Windows Ionic 7 Capacitor 项目中复现 npm run build:mobile。记录使该命令能够在 Windows 上成功完成所需的缺失设置或修正后的步骤。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- node.js
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100