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

Commuter does not run on macOS #250

Closed
nikhilkuria opened this issue Nov 14, 2018 · 7 comments
Closed

Commuter does not run on macOS #250

nikhilkuria opened this issue Nov 14, 2018 · 7 comments

Comments

@nikhilkuria
Copy link

I followed the instructions to install it
yarn global add @nteract/commuter

Afterwards, when i try to run it using
COMMUTER_LOCAL_STORAGE_BASEDIRECTORY=<~/dev/notebooks> commuter

it fails with the following error

CONFIGURED DISCOVERY none
internal/modules/cjs/loader.js:589
    throw err;
    ^

Error: Cannot find module '../../babel.flow.config'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
    at Function.Module._load (internal/modules/cjs/loader.js:513:25)
    at Module.require (internal/modules/cjs/loader.js:643:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/Users/nkose/.config/yarn/global/node_modules/@nteract/webpack-configurator/index.js:12:25)
    at Module._compile (internal/modules/cjs/loader.js:707:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
    at Module.load (internal/modules/cjs/loader.js:605:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
    at Function.Module._load (internal/modules/cjs/loader.js:536:3)
@ryanzlu
Copy link

ryanzlu commented Nov 15, 2018

I tried both npm and yarn install, they all produce the same error. It only works when starting as development version from the repo

@andriuspl
Copy link

Yes, same here.

@willingc
Copy link
Member

Thanks folks for the reports. We will investigate this along with #3666 when contributors are available.

Development version appears to work per @DemonR.

@weldpua2008
Copy link

Same

# NODE_ENV=production COMMUTER_STORAGE_BACKEND=s3 COMMUTER_BUCKET=ci /usr/local/nodejs-binary-8.15.0/bin/commuter server
CONFIGURED DISCOVERY none
module.js:550
    throw err;
    ^

Error: Cannot find module './config/babel.flow.config'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/nodejs-binary-8.15.0/lib/node_modules/@nteract/commuter/node_modules/@nteract/webpack-configurator/index.js:12:25)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)

for:

Linux server0a 3.16.0-4-amd64 #1 SMP Debian 3.16.51-3 (2017-12-13) x86_64 GNU/Linux
# node  -v   
v8.15.0
# npm -v
6.4.1

@willingc
Copy link
Member

bump @rgbkrk @captainsafia Thoughts?

@rgbkrk
Copy link
Member

rgbkrk commented Feb 10, 2019

I'm going to move this issue over to nteract/commuter, I'll be working on commuter again this week and we can track it there.

@rgbkrk rgbkrk transferred this issue from nteract/nteract Feb 10, 2019
@captainsafia
Copy link
Member

Hello folks! I'm closing this issue as it is a duplicate of #249. Please read that thread for a resolution for this problem.

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

7 participants