wechat-miniprogram / kbone-template-vue

a simple vue template for kbone
MIT License
350 stars 86 forks source link

"pages/home/miniprogram-render" is not defined #1

Closed smartapp-ep closed 5 years ago

smartapp-ep commented 5 years ago

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)

JuneAndGreen commented 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

smartapp-ep commented 5 years ago

@JuneAndGreen Thanks!! appreciated. You guys are amazing, didn't expect such fast response on a Saturday!

hucheng91 commented 4 years ago

@JuneAndGreen 我已经在开发者工具里面build了但还是报这个错

hucheng91 commented 4 years ago

image.png-524.5kB

hucheng91 commented 4 years ago

把开发者工具更新到 1.02.1911052 版本,这个问题没有了