Skip to content

TypeError: Cannot read property 'slice' of undefined with version 1.3.2 of yarn #24

@Pichardito

Description

@Pichardito

yarn -v
1.3.2

bower-away --version
1.1.2

I ran bower-away in my project with bower.json file and this is the error I get:

TypeError: Cannot read property 'slice' of undefined
    at _callee$ (/Users/pichardito/.config/yarn/global/node_modules/bower-away/cli.js:103:27)
    at tryCatch (/Users/pichardito/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:62:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/cpichardo/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:296:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/pichardito/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:114:21)
    at step (/Users/pichardito/.config/yarn/global/node_modules/bower-away/cli.js:253:30)
    at _next (/Users/pichardito/.config/yarn/global/node_modules/bower-away/cli.js:268:9)
    at /Users/pichardito/.config/yarn/global/node_modules/bower-away/cli.js:275:7
    at /Users/pichardito/.config/yarn/global/node_modules/bower-away/cli.js:248:12
    at main (/Users/pichardito/.config/yarn/global/node_modules/bower-away/cli.js:226:17)
    at Object.<anonymous> (/Users/pichardito/.config/yarn/global/node_modules/bower-away/cli.js:348:1)

Please let me know if there's any other information you need for a better understanding of this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions