Git Product home page Git Product logo

jsbinaryschemaparser's Issues

Can't get the demo running locally

Hi, I tried to run the demo (index.html) locally but it's not loading the images. Also, I'm trying to integrate this project into one of mine and there are a bunch of require instructions inside the main js that I don't know how to modify them to achieve the code to work.

EDIT: I confused of project sorry. This issue is related to gifuct-js.

when running , has error

use vite2+vue3, vue-qr USE this,when running,take a error

Uncaught SyntaxError: The requested module '/node_modules/js-binary-schema-parser/lib/schemas/gif.js?v=378c1998' does not provide an export named 'default'

image

vite+vue3 build error

Named export 'buildStream' not found. The requested module 'js-binary-schema-parser/src/parsers/uint8.js' is a CommonJS module, which may not support all module.exports as named exports.

vite config

optimizeDeps: {
include: ['js-binary-schema-parser', 'js-binary-schema-parser/src'],
exclude: ['g711'],
},
build: {
commonjsOptions: {
include: [/js-binary-schema-parser/, /js-binary-schema-parser/src/, /node_modules/],
defaultIsModuleExports: false
},
},

how to reslove?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.