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

Cannot find module ssl.js #26

Open
roschler opened this issue Feb 20, 2019 · 0 comments
Open

Cannot find module ssl.js #26

roschler opened this issue Feb 20, 2019 · 0 comments

Comments

@roschler
Copy link
Contributor

I'm having a terrible time getting the developer rig running on my Windows 8.1 box. I can't create a project with any of the projects offered as starter code (Hello World, etc.). When I try I get the really unhelpful error "Something went wrong. Please try saving your project again".

I can create a completely empty project by unselecting the "use code" option. But I really need some starter code to work with. So I downloaded this repo and executed a npm install command. Despite that I had to use npm to install the hapi package. But now when I try to follow the ReadMe directions and create the certificates I get the following error on the first command:

C:\Users\Robert\Documents\GitHub\ME\TWITCH\Extensions\extensions-hello-world>node scripts/ssl.js
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:\Users\Robert\Documents\extensions-hello-world\scripts\ssl.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:191:16)
    at bootstrap_node.js:612:3

How do I fix this and is there a reason I'm having such a difficult time with this? Also, Node.JS on windows can't seem to find any of the EXT_* environment variables so I am currently forced to use the command line variables.

Lastly, you might want to edit the ReadMe to tell people the owner ID is just the Twitch user ID associated with the Twitch channel tied to the client ID associated with the extension. curl is not a resident command on a Windows box so you can't use it with a default Win config. I'm guessing you do most of your dev on a Mac?

Fortunately I have MSYS installed so I could get to CURL there, but many of your other Windows users will have to wrestle with that requirement. I second that other thread that requests Linux support for the developer rig.

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

1 participant