js.Node.path.resolve bug
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- node.js
- 领域
- backend
调研方向
No source file or test is named. Locate the js.Node.path.resolve binding and compare it with js.Node.require("path").resolve using the examples in the issue; done means the binding no longer generates the null argument that causes node-webkit to crash.
由索引模型根据 Issue 内容生成。
描述
This line of code works:
pathToPlugin = js.Node.require("path").resolve(pathToPlugin);
//Produces this code:
//var pathToPlugin = [js.Node.require("path").join(path[0],subfolder[0])];
//pathToPlugin[0] = js.Node.require("path").resolve(pathToPlugin[0]);
This line of code doesn't work:
pathToPlugin = js.Node.path.resolve(pathToPlugin);
//Produces this code:
//var pathToPlugin = [js.Node.require("path").join(path[0],subfolder[0])];
//pathToPlugin[0] = js.Node.require("path").resolve(null,pathToPlugin[0]);
Second one causes node-webkit to crash.
- 主要语言
- Haxe
- 星标
- 43
- 派生
- 30
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dionjwa/nodejs-std 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 55/100
dionjwa/nodejs-std#35 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
dionjwa/nodejs-std#33 ·
-
难度 4/5 3-5 天 新手友好度 25/100
dionjwa/nodejs-std#28 ·
-
Usage examples未关闭
难度 3/5 1-2 天 新手友好度 20/100
dionjwa/nodejs-std#26 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
dionjwa/nodejs-std#21 ·
查看 dionjwa/nodejs-std 的全部 Issue
相似的 Issue
-
priority: low 🌱 type: enhancement 💅🏼
难度 2/5 半天 新手友好度 84/100
nebari-dev/llm-serving-pack#199 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
linebender/parley#849 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
rohitg00/agentmemory#1428 ·
维护者通常 1 天内回复