facebook / facebook/jscodeshift

Cannot read property 'error' of undefined

Open
#183 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
10k
Forks
498
PR merge metrics
No merged PRs in 30d

Description

```js
TypeError: Cannot read property 'error' of undefined
\node_modules\jscodeshift\node_modules\babel-core\lib\transformation\file\options\option-manager.js:126
if (!option) this.log.error("Unknown option: " + alias + "." + key, ReferenceError);
^
```
Love the idea of the tool, unfortunately it errors for me with the above. Where did I go wrong? It happens independet of file and transform.

I'm on Windows 10, maybe I went wrong there :D

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.