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.

Update to v6.1.0 has caused IE11 to no longer work.

See original GitHub issue

When something isn’t working, include:

  • Your style guide config (styleguide.config.js).
const path = require('path');

module.exports = {
  title: 'MFL React Components',
  components: 'src/components/**/*.tsx',
  skipComponentsWithoutExample: true,
  ignore: [],
  require: [
    path.resolve(__dirname, './styleguide/setup.js'),
    path.join(__dirname, './node_modules/enhanced-theme/enhanced/mfl.scss'),
    path.join(__dirname, './src/main.scss')
  ],
  styleguideComponents: {
    Wrapper: path.join(__dirname, './styleguide/Wrapper')
  },
  assetsDir: 'Content'
};
  • Webpack version.
webpack@3.10.0
  • Operating system, browser and version if it’s a layout bug.
Windows 10 64 bit, IE11 only. (chrome, firefox, edge are ok).

The totally unmodified styleguidist example https://github.com/styleguidist/example produces same problem in IE11 locally.

There error recieved in IE11 is.

SCRIPT1002: Syntax Error
main.bundle.js (50619,39)

A screen capture of what is at the location in main.bundle.js follows.

image

Reverting to styleguidist 6.0.33 allows the example to work.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
testowercommented, Oct 17, 2018

I’m unable to view styleguidist in IE11. Any pointers? The workaround here doesn’t work for me either: https://github.com/styleguidist/react-styleguidist/issues/764#issuecomment-357543200

Possibly related? https://github.com/Rich-Harris/buble/pull/154

UPDATE:

Styleguidist itself was not the problem, rather it was my own components which were not transpiled appropriately for IE11. Solution, make sure to use @babel/present-env along with a browserslist that includes IE11:

webpack config:

      {
        test: /\.jsx?$/,
        exclude: /node_modules/,
        loader: 'babel-loader',
        options: { presets: ['@babel/react', '@babel/preset-env'] }
      },

package.json (example):

  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 10",
    "not op_mini all"
  ]
2reactions
sapegincommented, Mar 28, 2018

I think it should be fixed now after the Buble update. Feel free to reopen if you still have this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems after installing Internet Explorer 11 - Microsoft Learn
Possible solutions to the problems you might encounter after installing IE11, such as crashing or seeming slow, getting into an unusable ...
Read more >
Room Alert 3E Firmware Release Notes - AVTECH
Resolved an issue that caused SNMP Queries and Trap to not work for Temperature and Analog Sensors. v1.3.1. September 5, 2014. AVTECH Device...
Read more >
CHANGELOG | Hydejack
The blog layout now works without pagination, simply showing all posts on a single page when the jekyll-pagination plugin is not found. The...
Read more >
Atlantic release notes - Pixel Union
We have updated the currency selector to use country names in addition to ... The home page slideshow will no longer cause the...
Read more >
drupal 10.0.0-beta1
Internet Explorer 11 is not supported in Drupal 10 since CKEditor 5 ... Core developers must update to at least Composer 2.3.6 to...
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