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

TypeError: this.buffers[pos.buf].get is not a function #2061

Open
lh12565 opened this issue May 16, 2023 · 0 comments
Open

TypeError: this.buffers[pos.buf].get is not a function #2061

lh12565 opened this issue May 16, 2023 · 0 comments

Comments

@lh12565
Copy link

lh12565 commented May 16, 2023

Hi when I run browserify, there is a error as below:

browserify -t browserify-css -t svgify ../test/node_modules/react-mutation-mapper/dist/index.js -o all.js


/NAS/lh/down/npm_Data/browserify/node_modules/buffers/index.js:185
    return this.buffers[pos.buf].get(pos.offset);
                                 ^

TypeError: this.buffers[pos.buf].get is not a function
    at Buffers.get (/NAS/lh/down/npm_Data/browserify/node_modules/buffers/index.js:185:34)
    at makeFn (/NAS/lh/down/npm_Data/browserify/node_modules/trumpet/lib/tokenize.js:56:26)
    at SAXStream.parser.<computed> (/NAS/lh/down/npm_Data/browserify/node_modules/trumpet/lib/tokenize.js:25:50)
    at SAXStream.emit (node:events:329:20)
    at SAXParser.me._parser.<computed> [as onopentag] (/NAS/lh/down/npm_Data/browserify/node_modules/sax/lib/sax.js:245:15)
    at emit (/NAS/lh/down/npm_Data/browserify/node_modules/sax/lib/sax.js:615:33)
    at emitNode (/NAS/lh/down/npm_Data/browserify/node_modules/sax/lib/sax.js:620:3)
    at openTag (/NAS/lh/down/npm_Data/browserify/node_modules/sax/lib/sax.js:801:3)
    at SAXParser.write (/NAS/lh/down/npm_Data/browserify/node_modules/sax/lib/sax.js:1260:31)
    at SAXStream.write (/NAS/lh/down/npm_Data/browserify/node_modules/sax/lib/sax.js:227:16)

Please help me how to solve it.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant