Coder Social home page Coder Social logo

Comments (1)

xosg avatar xosg commented on September 4, 2024

it occured to me too, where msgpack.encode(null) works but msgpack.createEncodeStream().write(null) throws a error.

TypeError [ERR_STREAM_NULL_VALUES]: May not write null values to stream at validChunk (_stream_writable.js:261:10) at EncodeStream.Writable.write (_stream_writable.js:297:21) at Object.<anonymous> (C:\Users\jim\测试msgpack流.js:9:14) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Function.Module.runMain (internal/modules/cjs/loader.js:829:12) at startup (internal/bootstrap/node.js:283:19) Emitted 'error' event at: at errorOrDestroy (internal/streams/destroy.js:107:12) at validChunk (_stream_writable.js:266:5) at EncodeStream.Writable.write (_stream_writable.js:297:21) [... lines matching original stack trace ...] at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)

from msgpack-lite.

Related Issues (20)

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.