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

vue-cli create a sample project, but can't run in ie #1789

Closed
super-bobo opened this issue Jul 9, 2018 · 8 comments
Closed

vue-cli create a sample project, but can't run in ie #1789

super-bobo opened this issue Jul 9, 2018 · 8 comments
Labels
needs reproduction This issue is missing a minimal runnable reproduction, provided by the author

Comments

@super-bobo
Copy link

super-bobo commented Jul 9, 2018

Version

3.0.0-rc.3

Reproduction link

https://jsfiddle.net/chrisvfritz/50wL7mdz/

Steps to reproduce

npm run serve
an error in ie(SCRIPT1006: 缺少 ')')

What is expected?

It works well in ie

What is actually happening?

an error in ie(SCRIPT1006: 缺少 ')')
image

@haoqunjiang
Copy link
Member

Please provide a valid reproduction, thanks.

@LinusBorg LinusBorg added the needs reproduction This issue is missing a minimal runnable reproduction, provided by the author label Jul 9, 2018
@revelt
Copy link

revelt commented Jul 10, 2018

also, which IE and which Windows version are you using, @super-bobo ?

also, @super-bobo, you give JSFiddle link but your error contains Chinese characters which are not present in the code within that JSFiddle link. Please explain yourself where do those Chinese characters (缺少) come from?

thank you

@wandss
Copy link

wandss commented Jul 17, 2018

Hello everyone!
Please forgive me if this shouldn't be posted here, but I'm using vue cli version 3.0.0-rc5, and just can't run my application in I.E 11.

I've tried out many unsuccessful things.
The error itself points to a SCRIPT1002 syntax error targeting the "ansi-regex" package (module).
I've already tried to set "transpileDependencies" in a "vue.config.js", thiking that "ansi-regex" is not been transpiled, but this did not solve as well.

Any suggestions?
Cheers!

@haoqunjiang
Copy link
Member

@wandss would you please provide a valid reproduction link / repo?
Without a runnable example it would be difficult for us to find out what is going wrong.

@wandss
Copy link

wandss commented Jul 17, 2018

@sodatea Thanks for the answer. Everything here is completely stock.
What I did was:
1. npm install -g @vue/cli
2. vue create hello_vue
3. cd hello_vue
4. npm run serve

And that's it.
When running on any browser different than I.E, I can a access the created Vue App.
On I.E 11 I get the errors I've said.

Anyway, here is the link to the repository:
https://github.com/wandss/hello_vue.git

Cheers!

@yyx990803
Copy link
Member

Can not reproduce in latest RC8.

@w0q
Copy link

w0q commented Sep 21, 2018

I have the same problem when running in ie11.

screen shot 2018-08-30 at 13 22 04

I think the problem is related to the use of arrow function by the strip-ansi and ansi-regex libraries. Exactly the same problem in webpack/webpack-dev-server#1278

@dbwcooper
Copy link

thanks, @w0q ,it works perfect !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction This issue is missing a minimal runnable reproduction, provided by the author
Projects
None yet
Development

No branches or pull requests

8 participants