Core/Javascripting/1.Introduction
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, node.js, powershell
- 领域
- cli, operating-systems, tooling
调研方向
首先在 Windows 10 的 PowerShell 中复现 Core/Javascripting/1.Introduction 的验证流程,使用 $null > file.extension 或编辑器创建一个空文件,然后与 Command Prompt 的情况进行比较。跟踪 javascripting verify 的入口点,确定空文件被拒绝的原因。当有效的空文件能够通过所报告的创建方法正常工作,或指南明确记录了受支持的 Windows 操作步骤时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
On Windows 10, in PowerShell, you cannot create an empty file using the type NUL > file.extension command.
The only way for the javascripting verifiy command to ever be successful is to create an empty file using the type NUL > file.extension command from CommandPrompt only. This isn't mentioned anywhere in the guide (it just says on Windows).
Even if you create an empty file with $null > file.extension, the validation fails and you can't even run it with node file.extension. The same applies when you create the file in a text editor or in an IDE.
- node version: v9.3.0
- npm version: 5.6.0
- os: Microsoft Windows [Version 10.0.16299.125]
Error output when trying to verify a file that was not created in CommandPrompt using the type NUL > file.extension command.
SyntaxError: Invalid or unexpected token
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:152:10)
at Module._compile (module.js:624:28)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Function.Module.runMain (module.js:701:10)
at startup (bootstrap_node.js:194:16)
at bootstrap_node.js:618:3
at ChildProcess.exithandler (child_process.js:272:12)
at ChildProcess.emit (events.js:159:13)
at maybeClose (internal/child_process.js:943:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
killed: false,
code: 1,
signal: null,
My Code
console.log('hello');
- 主要语言
- JavaScript
- 星标
- 2.9k
- 派生
- 1k
- 平均合并
- 14 小时 47 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
workshopper/javascripting 的其他 Issue
-
help wanted translation
难度 1/5 1 小时以内 新手友好度 85/100
workshopper/javascripting#206 · 8 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 50/100
workshopper/javascripting#371 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 38/100
workshopper/javascripting#351 · 4 条评论 ·
-
discussion
难度 2/5 1-3 小时 新手友好度 55/100
workshopper/javascripting#296 · 4 条评论 ·
-
help wanted translation
难度 2/5 1-3 小时 新手友好度 52/100
workshopper/javascripting#267 · 6 条评论 · 2 个 reaction ·
查看 workshopper/javascripting 的全部 Issue
相似的 Issue
-
curation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
amponce/archive-movie-browser#186 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
clerk/javascript#9852 ·
-
bug p1 tools
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
难度 2/5 1-3 小时 新手友好度 84/100