yllg / mpvue-xbyjshop Goto Github PK
View Code? Open in Web Editor NEW前端mpvue🚀后端nodejs🔋+thinkjs+mysql📂微信小程序商城(准备用uniapp重构并适配多端)
前端mpvue🚀后端nodejs🔋+thinkjs+mysql📂微信小程序商城(准备用uniapp重构并适配多端)
您好,下载完代码后,运行 npm install; npm run dev; 出现了一大堆报错,请问 mpvue 的版本号是多少?
安装完依赖后 npm run dev 就报这个错误
internal/modules/cjs/loader.js:730
if (!cachedModule.loaded) {
^
TypeError: Cannot read property 'loaded' of null
at Function.Module._load (internal/modules/cjs/loader.js:730:23)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at parsePages (C:\Users\feng\my\mpvue-xbyjShop-master\mpvue-xbyjShop-master\buyer\node_modules_mpvue-entry@1.5.9@mpvue-entry\lib\parser.js:45:17)
at Function.getEntry (C:\Users\feng\my\mpvue-xbyjShop-master\mpvue-xbyjShop-master\buyer\node_modules_mpvue-entry@1.5.9@mpvue-entry\lib\index.js:25:13)
at Object. (C:\Users\feng\my\mpvue-xbyjShop-master\mpvue-xbyjShop-master\buyer\build\webpack.base.conf.js:13:26)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
选中buyer中打开项目编译不了
RT,如何使用mpvue同一套代码部署一套h5
项目做的很不错,楼主还在继续更新吗?后台管理部分加上不?这套系统用于生产适不适合?
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'dev'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]predev: [email protected]dev: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]dev: unsafe-perm in lifecycle truedev: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Administrator\Downloads\mpvue-xbyjShop-master\buyer\node_modules.bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\IDM Computer Solutions\UltraEdit;C:\Program Files (x86)\税务证书应用客户端;C:\Program Files\nodejs;C:\ProgramData\chocolatey\bin;C:\WindowsSystem32;C:\Users\Administrator\AppData\Local\Programs\Python\Python37;C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Scripts;C:\Users\Administrator\AppData\Roaming\npm;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]dev: CWD: C:\Users\Administrator\Downloads\mpvue-xbyjShop-master\buyerdev: Args: [ '/d /s /c', 'node build/dev-server.js' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]dev: Returned: code: 1 signal: nulldev: Failed to exec dev script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] dev: node build/dev-server.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:321:20)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:321:20)
13 verbose stack at maybeClose (internal/child_process.js:1026:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\Users\Administrator\Downloads\mpvue-xbyjShop-master\buyer
16 verbose Windows_NT 6.1.7601
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"
18 verbose node v13.7.0
19 verbose npm v6.13.6
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: node build/dev-server.js
22 error Exit status 1
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
立即购买里面连点击事件都没有,就是个死按钮。<view class="c">立即购买</view> <view class="r" @click="addToCart">加入购物车</view>
第一种封装的flyio;另外一种封装了wx.request.....都用wx.request不行吗?
no app.json file, can not run in weixin
作者你好,今天在使用中发现一个问题,就是在真机上下单后新增收货地址的时候,发现这里有个滚动穿透的问题:具体表现为地址选择弹出层向上滚动没问题,向下就不能滚动了而是直接变成刷新页面了。
未找到入口 app.json 文件
GET http://127.0.0.1:8360/api/index/index net::ERR_CONNECTION_REFUSED
只有index用了store存储数据。
after npm run build, no app.json file, can not run in weixin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.