本文共 373 字,大约阅读时间需要 1 分钟。
如果你使用docker,下面的就不用看了
emsdk 下载过程有时候是非常漫长的,有时候可能会反复重装。其实只要保留一份完整的emsdk包,其他人可以直接拷贝过去使用。
以 emsdk 1.38.45 为例
cd emsdk/node/12.9.1_64bit/binrm npm npxln -s ../lib/node_modules/npm/bin/npm-cli.js npmln -s ../lib/node_modules/npm/bin/npx-cli.js npxcd /usr/binln -s home/ubuntu/emsdk/node/12.9.1_64bit/bin/node node
其实主要是配置nodejs环境。
遇到没有python命令的情况
cd /usr/binln -s python3.8 python
转载地址:http://fmvmb.baihongyu.com/