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

"wepy build -o web" case error #15

Open
tolerance-go opened this issue Apr 16, 2018 · 2 comments
Open

"wepy build -o web" case error #15

tolerance-go opened this issue Apr 16, 2018 · 2 comments

Comments

@tolerance-go
Copy link

/usr/local/lib/node_modules/wepy-cli/lib/web/index.js:354
wpys.forEach(function (wpy, i) {
^

TypeError: wpys.forEach is not a function
at Object.compile (/usr/local/lib/node_modules/wepy-cli/lib/web/index.js:354:14)
at /usr/local/lib/node_modules/wepy-cli/lib/web/index.js:235:34
at Array.forEach ()
at Object.toWeb (/usr/local/lib/node_modules/wepy-cli/lib/web/index.js:227:28)
at /usr/local/lib/node_modules/wepy-cli/lib/compile.js:364:37
at Array.forEach ()
at Object.build (/usr/local/lib/node_modules/wepy-cli/lib/compile.js:362:19)
at Command.module.exports (/usr/local/lib/node_modules/wepy-cli/lib/bin/wepy-build.js:12:21)
at Command.listener (/usr/local/lib/node_modules/wepy-cli/node_modules/commander/index.js:315:8)
at emitTwo (events.js:126:13)
at Command.emit (events.js:214:7)
at Command.parseArgs (/usr/local/lib/node_modules/wepy-cli/node_modules/commander/index.js:651:12)
at Command.parse (/usr/local/lib/node_modules/wepy-cli/node_modules/commander/index.js:474:21)
at Object. (/usr/local/lib/node_modules/wepy-cli/lib/bin/wepy.js:35:21)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)

@Gcaufy
Copy link
Member

Gcaufy commented Apr 16, 2018

try alpha version.
在alpha版本中我修复了一系列转web的问题

npm install [email protected] -g

@lyle-w
Copy link

lyle-w commented Apr 18, 2018

Same issue here, and now it fixed with 1.7.2-alpha3.

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

3 participants