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

VM54:1 thirdScriptError sdk uncaught third Error module "static/vant/notify/index.js" is not defined #5

Closed
LuSir001 opened this issue Sep 8, 2018 · 3 comments

Comments

@LuSir001
Copy link

LuSir001 commented Sep 8, 2018

VM54:1 thirdScriptError
sdk uncaught third Error
Unexpected token export
SyntaxError: Unexpected token export
console.error @ VM54:1
(anonymous) @ WAService.js:14
(anonymous) @ WAService.js:6
a @ appservice?t=1536372741783:4873
window.onerror @ VM54:1
VM54:1 thirdScriptError
sdk uncaught third Error
Unexpected token import
SyntaxError: Unexpected token import
console.error @ VM54:1
(anonymous) @ WAService.js:14
(anonymous) @ WAService.js:6
a @ appservice?t=1536372741783:4873
window.onerror @ VM54:1
VM54:1 thirdScriptError
sdk uncaught third Error
Unexpected token export
SyntaxError: Unexpected token export
console.error @ VM54:1
(anonymous) @ WAService.js:14
(anonymous) @ WAService.js:6
a @ appservice?t=1536372741783:4873
window.onerror @ VM54:1
2VM54:1 thirdScriptError
sdk uncaught third Error
Unexpected token import
SyntaxError: Unexpected token import
console.error @ VM54:1
(anonymous) @ WAService.js:14
(anonymous) @ WAService.js:6
a @ appservice?t=1536372741783:4873
window.onerror @ VM54:1
app.js:96 app created and cache logs by setStorageSync
VM54:1 thirdScriptError
sdk uncaught third Error
module "static/vant/notify/index.js" is not defined
Error: module "static/vant/notify/index.js" is not defined
at require (http://127.0.0.1:38417/appservice/__dev__/WAService.js:22:26700)
at :385:7
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:38417/appservice/appservice?t=1536372741783:5435:23)

@Rychou
Copy link
Owner

Rychou commented Sep 8, 2018

你是怎么引入的

TIM图片20180908102048.png

@zhangchenna
Copy link

zhangchenna commented Sep 8, 2018

开启ES5 转ES6才行 不开启就报错

@Rychou
Copy link
Owner

Rychou commented Sep 8, 2018

3楼应该是正解,试试把微信开发者工具中的ES6转ES5开了。 @LuSir001

@Rychou Rychou closed this as completed Sep 11, 2018
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