Skip to content

Local build errors #103

@arizonatribe

Description

@arizonatribe

I cloned the repo and started playing with the code locally but I ran into some problems just getting it to build. Perhaps this isn't causing a problem for anyone currently, but I suspect if you were to remove the node_modules/ folder and globally remove your versions of babel-eslint you might encounter the same problems I ran across.

It seems there was a bug in babel-eslint that doesn't play well with Flow, but it was corrected in version 8.1.1. For me it was causing the npm test command to fail. Anyway, a simple upgrade of that package fixed it.

Additionally, I ran into an error when building Spected that looked like a simple CommonJs failure to recognize the Object rest spread operator. I fixed it by moving the rollup commonjs() call (in the rollup.config.js) so that it comes after the babel() transpile step.

Hope this is helpful.

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