question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot read property 'syscall' of null

See original GitHub issue

I have been banging my head against this every time I try to update from 3.0.0 to any >= 3.1 version beta or final.
It happens after transitioning in and out of a particular route exactly 3 times. Unfortunately I’m unable to create a reproduction except in this application and the stacktrace doesn’t point to anything I can dig into. Any idea where I can start looking?

AppendOpcodes.prototype.evaluate = function evaluate(vm$$1, opcode, type) {
            var operation = this.evaluateOpcode[type];
             if (operation.syscall) {  // here is where it errors.  type argument is 0
                operation.evaluate(vm$$1, opcode);
            } else {
                operation.evaluate(vm$$1.inner, opcode);
            }
        };

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:43 (21 by maintainers)

github_iconTop GitHub Comments

7reactions
sethbrasilecommented, Jan 13, 2020

Apologies if I’m incorrect here, but I may have a minimal reproduction of this issue that works in dev?

I have a full app that tends to throw this syscall error and then render the entire app 3 times in a row any time I hit a compilation error.

I was able to reproduce the issue that I’m experiencing just by generating a new app with 3.15.1, then creating an index template containing a nonsense component name (to create a compilation error).

ember-cli: 3.15.1
node: 10.18.0
os: darwin x64

Reproduction repo is here: https://github.com/sethbrasile/possible-ember-issue-reproduction-16503

5reactions
iorlascommented, Nov 22, 2018

We have encountered such error on 3.5. Any ideas?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ember JS : Uncaught TypeError: Cannot read property ...
Uncaught TypeError : Cannot read property 'createRecord' of null. Here is the controller file svg.js : export default Ember.
Read more >
Cannot read properties of null (reading 'syscall') - Help me!
Trying to walk over a table results in this error and only a single record loads. Failure Logs. In this optional section, please:...
Read more >
How to fix " TypeError: Cannot read properties of ... - YouTube
JS Casts 12 - How to fix " TypeError : Cannot read properties of null (reading addEventListener)" in JavaScript.
Read more >
uncaught typeerror: cannot read property of null (reading 'usecontext ...
I'm having trouble with useContext. Whenever i deploy my code to google app scripts the console shows "Cannot read properties of null (reading...
Read more >
NullVoxPopuli on Twitter: "@alexlafroscia @neojp @jwwweber ...
This is one he sent over: Uncaught TypeError: Cannot read property 'syscall' of null at AppendOpcodes.evaluate (eval at <anonymous> I think the other...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found