Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'process' of undefined #392

Open
lifeart opened this issue Dec 1, 2020 · 4 comments
Open

TypeError: Cannot read property 'process' of undefined #392

lifeart opened this issue Dec 1, 2020 · 4 comments

Comments

@lifeart
Copy link

lifeart commented Dec 1, 2020

TypeError: Cannot read property 'process' of undefined
at C:\Users\lifeart\AppData\Roaming\npm-cache_npx\173988\node_modules\ember-es6-class-codemod\node_modules\flow-parser/flow_parser.js:281:70
at Object. (C:\Users\lifeart\AppData\Roaming\npm-cache_npx\173988\node_modules\ember-es6-class-codemod\node_modules\flow-parser/flow_parser.js:2:2)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Module._compile (C:\Users\lifeart\AppData\Roaming\npm-cache_npx\173988\node_modules\ember-es6-class-codemod\node_modules\pirates\lib\index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Object.newLoader [as .js] (C:\Users\lifeart\AppData\Roaming\npm-cache_npx\173988\node_modules\ember-es6-class-codemod\node_modules\pirates\lib\index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)

@lifeart
Copy link
Author

lifeart commented Dec 1, 2020

looks related: reactjs/react-codemod#219, facebook/jscodeshift#299

@JoepHeijnen
Copy link

I tried the solutions in the related issues, but i am still getting this error.

I tried different variations of the following command line.
npx ember-native-class-codemod http://localhost:4200 --no-babel app/components

Am i missing something or does ember-native-class-codemod not support these flags?

@lifeart
Copy link
Author

lifeart commented Apr 16, 2021

@JoepHeijnen ya, flags not working

@IsakFriisJespersen2
Copy link

Is there any solution to this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants