Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'filter' of null #1004

Closed
kvdmolen opened this issue Aug 6, 2015 · 1 comment
Closed

Cannot read property 'filter' of null #1004

kvdmolen opened this issue Aug 6, 2015 · 1 comment
Assignees
Labels

Comments

@kvdmolen
Copy link

kvdmolen commented Aug 6, 2015

Error with fresh install (and after server-reboot): Cannot read property 'filter' of null:

democracyos:build Found error resolving dependencies tree TypeError: Cannot read property 'filter' of null +10s
TypeError: Cannot read property 'filter' of null
    at Function.maxSatisfying (/home/admin/app/node_modules/component-resolver/node_modules/semver/semver.js:951:18)
    at Resolver.<anonymous> (/home/admin/app/node_modules/component-resolver/build/semver.js:570:24)
    at Generator.invoke (/home/admin/app/node_modules/component-builder/build/index.js:141:31)
    at Generator.invoke (/home/admin/app/node_modules/component-builder/build/index.js:79:50)
    at next (/home/admin/app/node_modules/component-resolver/node_modules/co/index.js:74:21)
    at /home/admin/app/node_modules/component-resolver/node_modules/co/index.js:93:18
    at Gunzip.onEnd (/home/admin/app/node_modules/component-resolver/node_modules/component-remotes/node_modules/cogent/node_modules/raw-body/index.js:149:7)
    at Gunzip.g (events.js:199:16)
    at Gunzip.emit (events.js:129:20)
    at _stream_readable.js:908:16
@kvdmolen kvdmolen changed the title Error after "make clean" Cannot read property 'filter' of null Aug 6, 2015
@mjlescano mjlescano added the bug label Aug 6, 2015
@mjlescano mjlescano self-assigned this Aug 6, 2015
@mjlescano
Copy link
Member

Couldn't reproduce the error neither on master or development. Looks like a dependency error from component(1). Those are very common, more info: #927.

For now, try to run make clean && npm cache clean && make, and make sure that the build ends. You could also try something like this retry command, and run retry make to make sure it ends correctly.

If you don't mind waiting, we're planning to launch 1.0.0 next week that doesn't use component :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants