Comments (4)
You can't use webpack
loaders in vite
app mostly, you need to use vite
plugins instead. You can also think about local dev server migration if you have to use lucid-cardano
.
from lucid.
You seem to run the Lucid.new()
method using lucid-cardano
. I started my Cardano blockchain dev career 1 year ago. We need to enable some properties to fix the issue.
I did that with craco.config.js
by adding the following properties.
asyncWebAssembly: true,
lazyCompilation: false,
syncWebAssembly: true,
topLevelAwait: true
You have to do the same thing for lucid to work in vite app.
from lucid.
Thank you for your reply. I tried to use webpack loaders in vite, but it's failed.
from lucid.
I found some links and tried them. Vite app still gives me an error, but it's another problem. This issue is solved.
from lucid.
Related Issues (20)
- How to build transaction whose input is from zero address and output is also zero address? HOT 2
- Potential External Memory Leak - External Resources not being collected. HOT 2
- Unclear mapping of data structures between lucid and aiken HOT 1
- Add Docs for Vite/SvelteKit HOT 1
- Nami requests signature fee instead of requesting payment?
- Nami requests signature fee instead of requesting payment? HOT 1
- next 13 and lucid HOT 2
- No "exports" main defined in package.json HOT 2
- Fee Estimation issue when building contract remdemption TX on the backend. HOT 1
- `'amounts-as-strings': 'true'` for Maestro provider endpoints
- "Max collateral inputs reached" HOT 2
- Merging change utxos in minting transaction HOT 1
- No "exports" main defined while using lucid-cardano with typescript.
- vite node vue3 http://127.0.0.1:4001/node_modules/.vite/deps/cardano_multiplatform_lib_bg.wasm 404 (Not Found) HOT 1
- Unlock transaction: Uncaught (in promise) Redeemer (Spend, 0): Failed to deserialise PlutusData using UnConstrData: HOT 7
- Nextjs 14 and context
- How to use blueprint.ts?
- Could not serialize the data: TypeError: Cannot read properties of undefined (reading 'plutuslist_new') HOT 1
- Transaction submit error caused by filled datum and datumHash field
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 lucid.