Closed smartapp-ep closed 5 years ago
You need enter the dist/mp folder and run npm install
,then using Npm build
function of devtools(relative doc: https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html).
PS: all the above has added to README.md now
@JuneAndGreen Thanks!! appreciated. You guys are amazing, didn't expect such fast response on a Saturday!
@JuneAndGreen 我已经在开发者工具里面build了但还是报这个错
把开发者工具更新到 1.02.1911052 版本,这个问题没有了
build mp exactly as instructed, when running in wechat developer tool, error below occurs. any idea? or did i miss anything? thanks in advance !
WAService.js:1 Uncaught Error: module "pages/home/miniprogram-render" is not defined at require (WAService.js:1) at WAService.js:1 at index.js:1 at require (WAService.js:1) at <anonymous>:11:7 at HTMLScriptElement.scriptLoaded (appservice?t=1569048469372:1170) at HTMLScriptElement.script.onload (appservice?t=1569048469372:1182)