question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Edge error 'Expected identifier, string or number'

See original GitHub issue

[ x ] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project

In Edge browser, using the store does not work. Error sending to:

/*!*************************************************************!*\
  !*** ./node_modules/vuex-simple/build/src/store-builder.js ***!
  \*************************************************************/
/*! exports provided: StoreBuilder, getStoreBuilder */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

==>"use strict";
eval("__webpack_require__.r

index.ts

import Vue from 'vue';

import VuexSimple, { getStoreBuilder } from 'vuex-simple';
import { SearchModule } from './modules/search';

Vue.use(VuexSimple);

const storeBuilder = getStoreBuilder();
storeBuilder.initialize({
    modules: {},
    strict: false,
});
storeBuilder.loadModules([SearchModule]);

const store = storeBuilder.create();

export default store;

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
sascha245commented, Oct 31, 2018

The error should normally be fixed now in 2ea5e7b81c43e97b09abc67b54ee96d4ffc714b8 (v1.2.1) I will let you check out and then close the issue if that did the job.

I wish you a good evening,

Sascha

2reactions
sascha245commented, Oct 31, 2018

Ok thanks, I managed to reproduce the error. I will look into it and give you a response as soon as I found out something.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edge: SCRIPT1028: Expected identifier, string or number
It appears (surprisingly) that Edge doesn't support property rest yet, which is unfortunate but then it was officially added only in ES2018.
Read more >
Bug (MS Edge): Expected identifier, string or number (White ...
We're working on a very large web application, and it has been running fine on Chrome, Mozilla and Safari. We tested it on...
Read more >
Error - Expected identifier, string - Material Design for Bootstrap
As you can see, it seems Edge still have problems with es6 spread operators, and it causing the compiled js to literally explode....
Read more >
Expected identifier, string or number error message
I keep getting the subject error message when using IE8. I am running Windows 7 Home Premium on a Sony Viao VPCL100.
Read more >
Errors show on MS Edge for Javascript API 4.21
1. SCRIPT1028: SCRIPT1028: Expected identifier, string or number ... have any workaround method to solve errors message show on the MS Edge?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found