ipfs-inactive / project-repos

[ARCHIVED] Project health metrics
http://project-repos.ipfs.io/
MIT License
7 stars 8 forks source link

Unable to run project #109

Closed RichardLitt closed 7 years ago

RichardLitt commented 7 years ago

I am getting an issue when trying to load this project by running npm run dev. It seems to go a bit back further than what is deployed, so I think it is an issue with a dep or my node version. Currently trying to figure it out.

RichardLitt commented 7 years ago
Uncaught Error: Cannot find module './src/cat'
    at s (http://localhost:3000/public/bundle.js:1:148)
    at http://localhost:3000/public/bundle.js:1:305
    at http://localhost:3000/public/bundle.js:105426:3
    at Array.forEach (native)
    at Object.<anonymous> (http://localhost:3000/public/bundle.js:105425:28)
    at Object.312../commands.json (http://localhost:3000/public/bundle.js:105555:4)
    at s (http://localhost:3000/public/bundle.js:1:254)
    at http://localhost:3000/public/bundle.js:1:305
    at Object.<anonymous> (http://localhost:3000/public/bundle.js:63090:9)
    at Object.190../log (http://localhost:3000/public/bundle.js:63137:4)
    at s (http://localhost:3000/public/bundle.js:1:254)
    at http://localhost:3000/public/bundle.js:1:305
    at Object.185../lib/constants (http://localhost:3000/public/bundle.js:62898:3)
    at s (http://localhost:3000/public/bundle.js:1:254)
    at http://localhost:3000/public/bundle.js:1:305
    at Object.371.bluebird (http://localhost:3000/public/bundle.js:119416:7)
    at s (http://localhost:3000/public/bundle.js:1:254)
    at http://localhost:3000/public/bundle.js:1:305
    at Object.372../RepoMatrix (http://localhost:3000/public/bundle.js:119857:14)
    at s (http://localhost:3000/public/bundle.js:1:254)
    at e (http://localhost:3000/public/bundle.js:1:425)
    at http://localhost:3000/public/bundle.js:1:443
RichardLitt commented 7 years ago

@harlantwood I narrowed it down. Unfortunately, it looks like your commit https://github.com/ipfs/project-repos/commit/07061a1009475752739eb9dcf1b69fe23db35e84 broke the build, AFAIK - lightsaber 0.6.6 doesn't work as well as 0.5.1. Can you fix lightsaber and update this?

harlantwood commented 7 years ago

Sorry to hear that! I'll take a look as soon as I can, but it might be a few days. Alternatingly, you could just remove lightsaber, and replace itslog with console.log.

RichardLitt commented 7 years ago

SGTM. I've got a workaround at the moment (using an old version), and will merge that as needed.

RichardLitt commented 7 years ago

Cannot replicate on live.