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

unsupported type for static module: VariableDeclarator #40

Open
lostinplace opened this issue Feb 9, 2015 · 0 comments
Open

unsupported type for static module: VariableDeclarator #40

lostinplace opened this issue Feb 9, 2015 · 0 comments

Comments

@lostinplace
Copy link

when running browserify js/pre-bro.app.js using brfs, I receive the following error:

Error: unsupported type for static module: VariableDeclarator
at expression:

  fs
 while parsing file: /Users/me/dev/git/studio-module-media/js/pre-bro.app.js
  at traverse (/Users/me/dev/git/studio-module-media/node_modules/brfs/node_modules/static-module/index.js:285:25)

I have determined that the lines from the source file that trigger this error are the following:

...
// Generated by CoffeeScript 1.8.0
(function() {
  var $, Definition, Marionette, QuickPublishView, Studio, Template, fs, _;

  $ = require('jquery');

  _ = require('underscore');

  fs = require('fs');
....

I'm having trouble figuring out what's going on

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

No branches or pull requests

1 participant