seiyria / tournamentmango

Manage tournaments and players easily.
https://seiyria.com/tournamentmango
GNU Lesser General Public License v3.0
133 stars 37 forks source link

"Error: Cannot find module 'babel/register'" #145

Closed paragonx9 closed 6 years ago

paragonx9 commented 6 years ago

After successfully running tournamentmango on my windows machine, I tried setting it up on an Ubuntu 16.04 machine with no avail. npm install runs with no errors. When I run gulp I get the following:

module.js:515
    throw err;
    ^

Error: Cannot find module 'babel/register'
    at Function.Module._resolveFilename (module.js:513:15)
    at Function.Module._load (module.js:463:25)
    at Module.require (module.js:556:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/tournament/tournamentmango/gulpfile.js:2:1)
    at Module._compile (module.js:612:30)
    at Object.Module._extensions..js (module.js:623:10)
    at Module.load (module.js:531:32)
    at tryModuleLoad (module.js:494:12)
    at Function.Module._load (module.js:486:3)

I've been trying to fix this for a few hours, but I can't seem to make this work :( I've manually installed babel, babel-core, babel-register, etc. using npm but the issue won't go away. Any help is appreciated.

seiyria commented 6 years ago

Again this very likely means that there is a dependency that's way too new. Try locking down everything in the package to the specific version listed, since that's what it was built with.

rbenzaquen commented 6 years ago

Can you pack all in a docker container?

On Oct 26, 2017 8:14 AM, "Kyle J. Kemp" notifications@github.com wrote:

Again this very likely means that there is a dependency that's way too new. Try locking down everything in the package to the specific version listed, since that's what it was built with.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seiyria/tournamentmango/issues/145#issuecomment-339632959, or mute the thread https://github.com/notifications/unsubscribe-auth/AAvc0Cww8g3kj57-T-yGiJbd_NuJvjTdks5swGmQgaJpZM4QHBrM .

seiyria commented 6 years ago

I probably could, but I don't work on this anymore. If I were to do anything with this app, it would be a rewrite. You're free to make a pull request though.

paragonx9 commented 6 years ago

Fixed it by locking them down like you said! Feel free to delete this issue since it's pretty isolated... thanks for the help 👍