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.

Error: unsupported type for static module: VariableDeclarator

See original GitHub issue

Getting this error both in brfs 1.1.0 and 1.1.1. I’m on Windows 7, 64-bit.

I’m building my browserify bundle from the command line, using the -t brfs flag. I don’t even have any require('fs') statements in my code yet; this error is thrown regardless, due to the transform.

The error is not thrown on 1.0.2 and older versions.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
obartracommented, Jan 26, 2016

Could this issue have regressed? I can repro the error on versions 1.4.2 and 1.4.3 but not on 1.0.2 as indicated above.

0reactions
coderberrycommented, Mar 11, 2016

+1 on regression

Read more comments on GitHub >

github_iconTop Results From Across the Web

typescript-esm - UNPKG
352, // in a script isn't considered an error. ... 1394, } else if (method.static && key.type === "Identifier" && key.name === "prototype")...
Read more >
Unsupported operand type error coming in while loop
I am using two major while loops. One for taking input. Other for running tests. I got this error: Error : File "n1.py",...
Read more >
eslint-config-imweb - npm
Rule Name:@typescript-eslint/explicit-module-boundary-types ... ","public-static-method","protected-static-method","private-static-method" ...
Read more >
ScriptSyntaxTree.js - Apple Open Source
_syntaxTree = null; console.error("Couldn't parse JavaScript File: " + script.url, ... static functionReturnDivot(node) { console.assert(node.type === WI.
Read more >
babel/types
This module contains methods for building ASTs manually and for checking the types of AST nodes. ... value, typeAnnotation, decorators, computed, static);.
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