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 😢
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 😄
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:
npm fix audit
npm audit
log)@cerebral/useragent
,@cerebral/inferno
andcerebral
versions so that application actually runsWhat I am struggling with:
As far as I see, this exception is caused by
@cerebral/useragent
runningmerge
operator, althoughseems like a correct usage, isn't it?
I would be really grateful to get some help from you @christianalfoni or anyone 😄