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 'babel-runtime/helpers/classCallCheck' #22

Closed
iFedaka opened this issue Sep 12, 2016 · 5 comments
Closed

Cannot find module 'babel-runtime/helpers/classCallCheck' #22

iFedaka opened this issue Sep 12, 2016 · 5 comments
Assignees

Comments

@iFedaka
Copy link

iFedaka commented Sep 12, 2016

After fresh install.
I got an error that babel-runtime is not installed.

module.js:457
    throw err;
    ^

Error: Cannot find module 'babel-runtime/helpers/classCallCheck'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\src\node_modules\rally\dist\restapi.js:7:24)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)

Works in case babel-runtime installed either globally or locally.

@krmorse
Copy link
Contributor

krmorse commented Sep 12, 2016

Thanks for reporting this. My guess is we had it installed globally and just missed adding it to package.json. Expect a fix shortly!

@pbomb
Copy link
Contributor

pbomb commented Sep 12, 2016

@iFedaka let me know if you still see issues with version 2.1.1, which I just published.

@iFedaka
Copy link
Author

iFedaka commented Sep 12, 2016

Nope. Issue is still reproducible.
I'd add it as regular dependency, not as devDependency.

Reproducible in as easy script as:
var rally = require('rally')

On fresh machine with installed node js.

@pbomb pbomb reopened this Sep 12, 2016
@pbomb pbomb closed this as completed in 39c8529 Sep 12, 2016
@pbomb
Copy link
Contributor

pbomb commented Sep 12, 2016

@iFedaka I just published 2.1.2 and tested it locally. Sorry for the mixup.

@iFedaka
Copy link
Author

iFedaka commented Sep 12, 2016

Thank you so much.
Now it works, perfectly.

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