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

[Scope Chains]: #1722

Closed
andreoliveira9 opened this issue May 3, 2016 · 6 comments
Closed

[Scope Chains]: #1722

andreoliveira9 opened this issue May 3, 2016 · 6 comments

Comments

@andreoliveira9
Copy link

  • node version: <4.4.3>
  • npm version: <2.15.1>

Error output

$ scope-chains-closures
C:\Users\Andre\AppData\Roaming\npm\node_modules\scope-chains-closures\node_modules\adventure\lib\menu.js:51
    process.stdin.setRawMode(true);
                  ^

TypeError: process.stdin.setRawMode is not a function
    at module.exports (C:\Users\Andre\AppData\Roaming\npm\node_modules\scope-chains-closures\node_modules\adventure\lib\menu.js:51:19)
    at Shop.showMenu (C:\Users\Andre\AppData\Roaming\npm\node_modules\scope-chains-closures\node_modules\adventure\index.js:267:16)
    at Shop.execute (C:\Users\Andre\AppData\Roaming\npm\node_modules\scope-chains-closures\node_modules\adventure\index.js:131:14)
    at Object.<anonymous> (C:\Users\Andre\AppData\Roaming\npm\node_modules\scope-chains-closures\runner.js:26:6)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)

My Code

 // copy your code here
@riyadhalnur
Copy link
Member

The error is clearly mentioned in the error message. There's no setRawMode function on process.stdin.

@SomeoneWeird
Copy link
Member

@riyadhalnur yes, but the error is clearly inside of scope-chains/adventure. Don't need to be rude about it

@SomeoneWeird
Copy link
Member

Oops.

@SomeoneWeird SomeoneWeird reopened this May 3, 2016
@riyadhalnur
Copy link
Member

@SomeoneWeird I wasn't being rude. Sorry if the language comes off as that.

@riyadhalnur
Copy link
Member

@andreos1988 This seems to be a problem for many on Windows 10. An issue has been filed here workshopper/scope-chains-closures#15

@andreoliveira9
Copy link
Author

@riyadhalnur @SomeoneWeird I undestood the problem thanks guys 👍

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

No branches or pull requests

3 participants