Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

0.8.4 is broken #164

Closed
sebmck opened this issue Jan 13, 2015 · 0 comments
Closed

0.8.4 is broken #164

sebmck opened this issue Jan 13, 2015 · 0 comments

Comments

@sebmck
Copy link
Contributor

sebmck commented Jan 13, 2015

0.8.4 doesn't appear to have been pushed to this repo, at least the package.json hasn't. It's currently broken.

$ npm install regenerator
[email protected] node_modules/regenerator
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
$ node
> require("regenerator").transform("function* bar() {}");
AssertionError: false == true
    at Visitor.PVp.visitWithoutReset (/Users/sebastian/Projects/6to5/6to5/node_modules/ast-types/lib/path-visitor.js:135:12)
    at Visitor.PVp.visit (/Users/sebastian/Projects/6to5/6to5/node_modules/ast-types/lib/path-visitor.js:117:21)
    at Function.transform (/Users/sebastian/Projects/6to5/6to5/node_modules/regenerator/lib/visit.js:31:18)
    at repl:1:24
    at REPLServer.self.eval (repl.js:110:21)
    at repl.js:249:20
    at REPLServer.self.eval (repl.js:122:7)
    at Interface.<anonymous> (repl.js:239:12)
    at Interface.emit (events.js:95:17)
    at Interface._onLine (readline.js:202:10)
sebmck referenced this issue Feb 21, 2015
There is a bug in brfs which disallows passing variables to fs.readFileSync.
This means that anyone using this module with Browserify will have a breaking
build. This can be fixed by using the value of remote.path directly, which,
while not optimal, solves the issue while the bug for fs.readFileSync is fixed.

I'm not sure if this PR is the right way to go about it, or to wait until brfs
addresses the issue. This PR is what I am using to fix my current build.

See more here: browserify/brfs#36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant