cfeteam / weapp-demo-album Goto Github PK
View Code? Open in Web Editor NEWThe album demo of wechat micro program
License: Other
The album demo of wechat micro program
License: Other
[email protected]:/data/release/weapp-demo-album-master/server
/data/release/weapp-demo-album-master/server/middlewares/route_dispatcher.js:18
let routePath;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/data/release/weapp-demo-album-master/server/app.js:28:9)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
在云服务器上的官方镜像找不到微信小程序所需要的镜像,具体环境是要自己配置吗
正在学习小程序,遇到一些问题,
1、还没有微信小程序的内测账号,可以下载DEMO,在电脑上看到效果吗?
2、已注册好微信公众平台账号,在设置域名的时候,图例显示的是qcloud.la,如果作为个人使用,我应该申请个什么域名?是申请qcloud的二级域名吗?
很看好微信小程序的前景,正在学习中,谢谢解答。
@techird
v4.6.0
腾讯云,小程序nodejs模板,demo跑不起来
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/data/release/weapp-demo-album/server/app.js:28:9)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
我很确定cos的bucket ,folder设置是对的, APPID和密钥设置也是对的, 但就是不能从cos接口获取数据.
我使用的mac环境,node.js 6, 使用的是文档中提到的方法安装腾讯云的访问lib和依赖等.
appservice:1008 GET https://www.qcloud.la/applet/album/list net::ERR_CONNECTION_REFUSED
Uncaught (in promise) {errMsg: "request:fail "}
TypeError: cos.getBucket is not a function
routes/album/handlers/list.js:15:13
我今天弄小程序,用wx.saveFile在手机上保存了一个图片提示保存成功(iphone6),但手机相册里看不到,请问你那里保存到本地是怎么做的,可以帮帮我吗?
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.