Comments (8)
@anthonymq I just pushed a PR for a fix for the BigInt error: #6. We were compiling our javascript to an unsupported version for one of our dependencies. Feel free to pull that branch down to see if it fixes the issue for you.
We're still looking at another issue with video upload from the canister frontend, you can track that here: #7.
from cancan.
I just created #11, turns out we had to be even more prescriptive about our browserlist as I believe one of the rules was including an older samsung browser version. Be sure to delete the node_modules/.cache
directory as otherwise new browserlist rules might not update in the build. This along with #8 should get video upload working again, but please update if you run into any problems.
from cancan.
I get same question , upload video failed .
Video Size : 32Mb
Video file format : mp4
from cancan.
Okay I think I identified the problem on the local node deployment :
Storing video thumbnail... video.ts:131 Unable to store video thumbnail: TypeError: Cannot convert a BigInt value to a number
Works on the devserver.
from cancan.
Hope solve this soon
from cancan.
Hey @anthonymq we've got a bug where the compiler sometimes doesn't correctly process some code in one of our dependencies.
It doesn't turn BigInt(2)**BigInt(n+1)
into Math.pow(2,n+1)
, but instead tries to do Math.pow(BigInt)
which results in the error you're seeing above..
That change has to happen in a dependency (@dfinity/agent), and we'll update this issue as soon as we've got that part working!
from cancan.
Feel free to pull that branch down to see if it fixes the issue for you.
the problem is still here:
(click the picture to get info)
env
dfx 0.7.0-beta.6
node v15.12.0
browser chrome
from cancan.
Closed by #11
from cancan.
Related Issues (19)
- extra forward slash in vessel-install.sh HOT 1
- boostrap.sh faild HOT 2
- Unhandled Rejection (Error): Fail to verify certificate HOT 4
- Where is the BigMap implemented? HOT 5
- Can see nothing but only black screen HOT 1
- Error when running `dfx build` HOT 2
- Signing up hangs at "Signing In" Forever HOT 1
- Checking to see if we know you yet...
- Can’t watch uploaded video
- username is array
- Unit tests / functional tests HOT 1
- Question about file size limit
- Hanging on local deployment after loging in .... HOT 1
- Cannot find module: 'dfx-generated/CanCan' HOT 2
- Why are you using `TrieMap` and not `HashMap`?
- Stable map persistence
- Video upload: Error: failed to create video HOT 1
- where is idp-service? HOT 1
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 cancan.