Comments (7)
Uh-oh,,,,, it was just the issue of the way to compile...
npx tsc --build tsconfig.json
completely has worked.
This issue was just due to my lack of understanding on tsc
.
I'm sorry and thanks again for your help @gfx , @mcclure .
from msgpack-javascript.
Excellent!
Anyway, I've mentioned to prerequisites about TypeScript in README.md: 6d2c4bc
from msgpack-javascript.
I am not connected with the msgpack-javascript project, I am a user. I cannot reproduce your error but I think that is because I am using Web instead of node.
According to several github issues on other projects, the solution is to add "es2018.asynciterable"
to your lib
array in tsconfig.json. Does that help?
If that fixes the problem, maybe msgpack should document this issue somehow.
from msgpack-javascript.
@mcclure Thank you for your advice.
I tried as you suggested:
{
"compilerOptions": {
"moduleResolution": "node",
- "lib": ["ES2018", "DOM"]
+ "lib": ["ES2018.AsyncIterable", "ES2018.AsyncGenerator", "DOM"]
}
}
But, it didn't work for me, unfortunately. Thanks anyway!
from msgpack-javascript.
Can you try "lib": ["es2020"]
? This is used in
msgpack-javascript/tsconfig.json
Line 6 in 3794182
from msgpack-javascript.
@gfx Thanks for following up. I also try that way. But, again, it didn't work...
I'll give this issue some more investigation later.
from msgpack-javascript.
I've seen your commit, that must be really helpful. Thanks.
from msgpack-javascript.
Related Issues (20)
- Cannot find name 'BufferSource' HOT 2
- Question re using with flow.js HOT 1
- Cannot use reusable encoders/decoders in custom codecs
- [bug] decode throws RangeError on empty Uint8Array HOT 2
- raw_ref type? HOT 2
- How can we convert the msgpack-encoded str back to the origin info HOT 2
- How to solve the problem of large integer accuracy loss
- Encoder Reuse Bug? HOT 2
- Cannot find module
- RangeError: Start offset undefined is outside the bounds of the buffer HOT 3
- Non reversible timestamp encoding HOT 1
- feature request: option to disable TEXT_ENCODING env check HOT 4
- There has a way to decode extension type from another language? HOT 3
- can i override the int64 decoder?
- Invalid integer string convertion from PHP serialized .msgpack HOT 1
- error on https://msgpack.org/
- Decoding of 32 bit floats is not precise HOT 3
- npm `latest` tag on `3.0.0-beta`
- add deno example with `import 'npm:@msgpack/msgpack'` HOT 1
- Encoder / Decoder classes dont work with `new ExtensionCodec()` for handling Set and Map in typescript
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msgpack-javascript.