# Web 3.0 (IOTA Intergration-service sdk) ###### tags: `區塊鏈` `IOTA` ### 遇到安裝錯誤 1. 刪除 typebox.js 的 `schemas;` 2. 遇到: `ReferenceError: TextEncoder is not defined`,就在`node_modules/whatwg-url/lib/encoding.js` 加上 `const {TextDecoder, TextEncoder} = require("util");` 3. 注意都改成 SSI_BRIDGE_URL=http://localhost:3000、AUDIT_TRAIL_URL=http://localhost:3000 4. `.env` 參考如下: ```javascript= #----------------------- # For management purpose #----------------------- MONGO_URL=mongodb://root:root@mongo:27017 DB_NAME=intergration-service SECRET_KEY=7w9gfhb123jngh4gd53z465fewcs569e #--------------------- # Client configuration #--------------------- # You can either choose a IS_GATEWAY_URL (used in production) # or the SSI_BRIDGE_URL AND AUDIT_TRAIL_URL (for local development) API_KEY=4ed59704-9a26-11ec-a749-3f57454709b9 IS_GATEWAY_URL=http://localhost:3000 SSI_BRIDGE_URL=http://localhost:3000 AUDIT_TRAIL_URL=http://localhost:3000 #--------------------- # Optional variables #--------------------- USE_GATEWAY_URL=false ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up