pluralsight / mob-timer

A mob programming application
Apache License 2.0
65 stars 26 forks source link

Uncaught exception: Error: Cannot find module 'clipboardy' #31

Closed mscottford closed 5 years ago

mscottford commented 5 years ago

Error message screenshot:

Screen Shot 2019-04-11 at 2 33 14 PM

macOS version info screenshot:

Screen Shot 2019-04-11 at 2 38 19 PM

node and npm info: https://gist.github.com/mscottford/3922340252f9b79c2973ecb85e68b167

jeremy-brooks commented 5 years ago

Yep I'm getting this as well, I can see that the last few commits were to do with the clip board.

I tried rolling back to a few earlier commit points but no joy.

jeremy-brooks commented 5 years ago

Ok I rolled back to the commit hash eb543b4935356948a198624ddada330927ae6e41 and it builds and runs ok from there.

Ref: https://github.com/pluralsight/mob-timer/commit/eb543b4935356948a198624ddada330927ae6e41

allan-stewart commented 5 years ago

Thank you for discovering this @mscottford and @jeremy-brooks !

The problem was that the new clipboardy module was defined as a devDependency instead of a dependency. I should have caught this when the new feature was being developed, but I only ran it via npm start in a development mode and didn't remember to do a final build. Sorry about that.

This should be fixed now in 4ef1be8f

I hope you're enjoying the timer, and thanks again!