Skip to content

Failing to build #32

@joewoodhouse

Description

@joewoodhouse

First, I'm really excited about this project! Hope to contribute if/when I can.

At the moment I can't run the example or build the project.

 ✘ joe  ~/src/clusterbuster   master ●  npm run build

> clusterbuster@0.0.0-development build /Users/joewoodhouse/src/clusterbuster
> rollup --config rollup.config.js


./lib/index.ts → dist/index.d.ts...
lib/index.ts(2,15): error TS2307: Cannot find module '../types'.

[!] (plugin dts) Error: Could not load /Users/joewoodhouse/src/clusterbuster/lib/index.ts: Failed to compile. Check the logs above.
Error: Could not load /Users/joewoodhouse/src/clusterbuster/lib/index.ts: Failed to compile. Check the logs above.
    at error (/Users/joewoodhouse/src/clusterbuster/node_modules/rollup/dist/rollup.js:5351:30)
    at throwPluginError (/Users/joewoodhouse/src/clusterbuster/node_modules/rollup/dist/rollup.js:11677:12)
    at Object.error (/Users/joewoodhouse/src/clusterbuster/node_modules/rollup/dist/rollup.js:12646:24)
    at Object.load (/Users/joewoodhouse/src/clusterbuster/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:1200:26)
    at Promise.resolve.then (/Users/joewoodhouse/src/clusterbuster/node_modules/rollup/dist/rollup.js:12851:25)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! clusterbuster@0.0.0-development build: `rollup --config rollup.config.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the clusterbuster@0.0.0-development build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/joewoodhouse/.npm/_logs/2019-11-20T23_13_19_840Z-debug.log

any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions