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

Fix npm audit issues and make local development working again #67

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

dpraimeyuu
Copy link

@dpraimeyuu dpraimeyuu commented Jul 29, 2020

I wanted to play a little bit with cerebral-debugger and see if I can tweak it with some additional features but faced issues with setting up local dev.

This PR should be treated more like a "question" because I don't know whether that's the way how cerebral-debugger should be set up 😄

EDIT: worth mentioning - I am using win10

What I've done:

  • ran npm fix audit
  • bumped packages that required such action due to security issues (npm audit log)
  • synchronized @cerebral/useragent, @cerebral/inferno and cerebral versions so that application actually runs
  • moved icons to root dir (electron complained, might be because of using different version)

What I am struggling with:

  • styles - not working 😢
    image
  • app reloads (I can see in terminal), but electron window is blank
  • resizing is not working, because of
Oh my, something bad happened :(
Cerebral operator.merge: You have to use the STATE TAG as first argument
Error: Cerebral operator.merge: You have to use the STATE TAG as first argument
at Object.operator.merge(state`useragent.media`, props`media`) [as function] (http://localhost:9000/dist/bundle.js:2060:13)
at FunctionTreeExecution.runFunction (http://localhost:9000/dist/bundle.js:13854:38)
at http://localhost:9000/dist/bundle.js:14718:19
at FunctionTree._this.executeBranchWrapper (http://localhost:9000/dist/bundle.js:14003:7)
at runBranch (http://localhost:9000/dist/bundle.js:14654:5)
at http://localhost:9000/dist/bundle.js:14686:9
at FunctionTree._this.executeBranchWrapper (http://localhost:9000/dist/bundle.js:14003:7)
at runBranch (http://localhost:9000/dist/bundle.js:14654:5)
at executeTree (http://localhost:9000/dist/bundle.js:14723:3)
at withResolveAndReject (http://localhost:9000/dist/bundle.js:14074:69)

As far as I see, this exception is caused by @cerebral/useragent running merge operator, although

at Object.operator.merge(state`useragent.media`, props`media`) [as function] 

seems like a correct usage, isn't it?

I would be really grateful to get some help from you @christianalfoni or anyone 😄

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

Successfully merging this pull request may close these issues.

1 participant