-
Notifications
You must be signed in to change notification settings - Fork 1.2k
require$$2.bind is not a function after vite build, works during vite dev #4343
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
I solved this problem by upgrading vite to 4.3.3. |
Hello @boid-com, js-ipfs is being deprecated in favor of Helia. You can learn more about this deprecation and the corresponding migration guide here. There is also an example of using helia with vite at https://github.com/ipfs-examples/helia-examples/tree/main/examples/helia-vite. As a result, we are going to close this issue. If you think we have done this in error, please feel to reopen with any comments in the next week as we will circle back on the reopened issues. We hope you will consider Helia for your IPFS in JS needs. If you believe this particular request belongs in Helia, feel free to open a Helia issue. We look forward to engaging with you more there. Thanks, |
Version:
{version: '0.18.0', commit: '', repo: '12', ipfs-core: '0.18.0', interface-ipfs-core: '^0.158.0'}
Platform:
Chrome, Macos
Severity:
Critical - System crash, application panic.
Description:
include ipfs-core in a quasar vite project
works during development but not after build
should operate the same during dev and build
Steps to reproduce the error:
Error trace
The text was updated successfully, but these errors were encountered: