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

Error when adding method to class #680

Closed
ismaelaarab10 opened this issue Feb 3, 2015 · 1 comment
Closed

Error when adding method to class #680

ismaelaarab10 opened this issue Feb 3, 2015 · 1 comment
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@ismaelaarab10
Copy link

When i add method like this

    test() {
        console.log("test");
    }

i get a error

ERROR in ./client/authentication/authentication.controller.js Module not found: Error: Cannot resolve module '6to5-runtime/helpers' in C:\wamp\www\app\client\authentication @ ./client/authentication/authentication.controller.js 3:18-49

i use webpack with 6to5-loader

@sebmck
Copy link
Contributor

sebmck commented Feb 3, 2015

Remove optional=selfContained from your webpack config.

@sebmck sebmck closed this as completed Feb 3, 2015
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jan 18, 2019
@lock lock bot unassigned sebmck Jan 18, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
kaicataldo pushed a commit that referenced this issue Nov 14, 2019
An alternative to adding a direct dep on estraverse (babel/babel-eslint#685), let's just drop the old monkeypatching behavior.

Closes #685, Closes #680
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

No branches or pull requests

3 participants