Usage of deprecated functions
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp, nodejs
- 领域
- build-system
调研方向
Start by building the NAN examples and locate the repeated cons->NewInstance(argc, argv) calls mentioned in the issue. Update the deprecated usage to the supported NAN form, then rebuild the examples to confirm the deprecation errors are gone.
由索引模型根据 Issue 内容生成。
描述
Hi,
It is currently not possible to build the NAN examples, because lines like
cons->NewInstance(argc, argv)
are frequently used. However, NewInstance is deprecated and
Nan::NewInstance(cons, argc, argv).ToLocalChecked()
or similar should be used instead (see https://stackoverflow.com/questions/45388032/how-to-silence-newinstance-is-deprecated-warning-in-node-gyp-rebuild-what)
I will try to fix this, but I'm just a beginner with NAN/Node...
- 主要语言
- C++
- 星标
- 2.6k
- 派生
- 598
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nodejs/node-addon-examples 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 38/100
nodejs/node-addon-examples#585 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 38/100
nodejs/node-addon-examples#530 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
nodejs/node-addon-examples#445 ·
-
难度 3/5 1-2 天 新手友好度 32/100
nodejs/node-addon-examples#444 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
nodejs/node-addon-examples#381 ·
查看 nodejs/node-addon-examples 的全部 Issue
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 70/100
EchoTools/nevr-runtime#2042 ·
维护者通常 1 天内回复
-
Download size and speed show scientific notation between 1000 and 1023 units可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1 小时以内 新手友好度 88/100
kiwix/kiwix-desktop#1570 ·
维护者通常 1 天内回复
-
Device Request
难度 2/5 半天 新手友好度 62/100
dresden-elektronik/deconz-rest-plugin#8686 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
aminya/project_options#303 ·