Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引用 weapp-session,出现语法错误? #2

Open
sunsnow8 opened this issue Dec 17, 2016 · 1 comment
Open

引用 weapp-session,出现语法错误? #2

sunsnow8 opened this issue Dec 17, 2016 · 1 comment

Comments

@sunsnow8
Copy link

下面是什么原因啊

SyntaxError: Unexpected token {
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 Function._load (/usr/lib/node_modules/pm2/node_modules/pmx/lib/transaction.js:62:21)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/data/release/node-weapp-session-cbb/app.js:18:16)
at Module._compile (module.js:409:26)

app.js 的18行代码是:var wSession = require('weapp-session');
很奇怪,我注释调第18行代码就没错误了,是什么原因呢

@sunsnow8
Copy link
Author

我的qq 是17007325,可以加我qq,帮我远程看一下吗,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant