Comments (1)
I also got an error in use compress.js. And I built this compress.js with your steps.
Uncaught TypeError: Cannot read property 'slice' of null
at encode.js:11
at Object.<anonymous> (encode.js:11)
at Object../node_modules/brotli/build/encode.js (encode.js:56)
at __webpack_require__ (bootstrap:784)
at fn (bootstrap:150)
at Object../node_modules/brotli/compress.js (compress.js:1)
at __webpack_require__ (bootstrap:784)
at fn (bootstrap:150)
at Object../node_modules/brotli/index.js (index.js:1)
at __webpack_require__ (bootstrap:784)
at fn (bootstrap:150)
at Module../src/actions/appActions.js (role-resource-constants.js:91)
from brotli.js.
Related Issues (20)
- Can not decode brotli encoded string like Arabic, Russian, Bulgarian, Greek .
- Missing LICENSE file.
- Deprecate in favor of iltorb HOT 3
- Unable to deploy in the browser: "ReferenceError: Browser is not defined" HOT 10
- WebAssembly version of decompressor?
- npmjs release HOT 3
- [ReadHuffmanCode] invalid num_codes or space in decompress method HOT 5
- Module not found: Error: Can't resolve 'fs' HOT 5
- How to enable CUSTOM DICTIONARY in Decoder
- compress returns null HOT 2
- uncaughtException error handler HOT 3
- Is the quality option OK? HOT 1
- Circular dependency in dec
- Use Brolti in Angular code
- Sending compressed html content through brotli not working HOT 1
- Decoder : Streaming mode?
- vulnerability in brotli
- Browserify's link has expired HOT 1
- Use brotli.js to decompress the api response
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 brotli.js.