abe33 / abe33/atom-project-palette-finder
Error: Arguments to path.resolve must be strings
- 主要语言
- CoffeeScript
- 星标
- 10
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
I found this error on console and I noticed that it is caused by this package and by the [atom-color-highlight](https://github.com/abe33/atom-color-highlight/) package.
It occurs when I launch Atom and I have one of your packages enabled. It occurs even when I try to enable one of the two package.
I'm using Atom Version `0.177.0`.
```
Arguments to path.resolve must be strings TypeError: Arguments to path.resolve must be strings
at Object.posix.resolve (path.js:423:13)
at new PathScanner (/Applications/Atom.app/Contents/Resources/app/node_modules/scandal/lib/path-scanner.js:25:28)
at Object.module.exports (/Applications/Atom.app/Contents/Resources/app/src/scan-handler.js:12:15)
at process. (/Applications/Atom.app/Contents/Resources/app/src/task-bootstrap.js:84:10)
at process.emit (events.js:119:17)
at handleMessage (child_process.js:326:10)
at Pipe.channel.onread (child_process.js:354:11)
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
The error originates in path-scanner.js line 25, where path.resolve receives a non-string argument. Examine the PathScanner constructor in the scandal package to see what input is being passed. Check how the package scans for project colors and what might cause a non-string path. Look at the scan-handler.js and task-bootstrap.js in Atom's source to understand the invocation context.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- nodejs
- 领域
- cli, tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100