Giter Club home page Giter Club logo

weapp-demo-album's Issues

the backend service cannot start

[email protected]:/data/release/weapp-demo-album-master/server

node app.js

/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

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

node -v

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)

关于wx.saveFile

我今天弄小程序,用wx.saveFile在手机上保存了一个图片提示保存成功(iphone6),但手机相册里看不到,请问你那里保存到本地是怎么做的,可以帮帮我吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.