Comments (2)
Thanks for the work you are doing, we are trying to get a successful "svelte" Javascript install on Ubuntu 20.04 dfx version 0.8.1 and on running "dfx deploy" we are hitting the following messages...
The post-build step failed for canister 'rrkah-fqaaa-aaaaa-aaaaq-cai' with an embedded error: The command '"npm" "run" "build"' failed with exit status 'exit code: 1'. Stdout:
[email protected] build
vite buildStderr: internal/modules/cjs/loader.js:638 throw err; ^
Error: Cannot find module 'worker_threads' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/home/mikebrunt/create-ic-app-main_2/create_ic_app/svelte-version/node_modules/vite/dist/node/chunks/dep-55830a1a.js:14:20) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Hey Im going to try it locally. but a quick google gave me this:
https://stackoverflow.com/questions/62280966/cannot-find-module-worker-threads-error-in-production
So likely you need to upgrade nodejs to a newer version.
from create-ic-app.
Yep managed to run it locally without issues. Try upgrading and let me know how it went.
from create-ic-app.
Related Issues (20)
- Import web3 error HOT 2
- Website? HOT 5
- npm @latest is pointing to an old version HOT 1
- Error when running npx create-ic-app@latest HOT 1
- Internet Identity does not work on prod with this. HOT 3
- Add Internet Identity Dev Build HOT 2
- [vite] http proxy error HOT 1
- how to use local frontend to test ic network(not local)?
- DFX latest? I have 0.10.0 HOT 3
- Non-Critical Error when using react-time-picker HOT 7
- Angular template HOT 2
- Deploy doesn´t works in ic HOT 6
- Getting error!
- Rust support
- did it ever work as expected?
- react sample can't find counter.did.js - (workaround provided) HOT 2
- React's dfinity and connect2ic dependencies are too low and will cause unexpected errors
- Would love to see an angular template maintained here as well HOT 1
- Any progress on updating the templates to dfx 0.8.0? HOT 2
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 create-ic-app.