Skip to content

Not working on Chromium v44 "Uncaught SyntaxError: Unexpected token =>" arrow functions #239

@cbdeveloper

Description

@cbdeveloper

Hello there,

I got this error on a "Samsung Internet v4", which uses Chromium v44.

So I downloaded the Chromium Version 44.0.2386.0 following these instructions and it seems that there's an error related to this package query-string.

image

What could this be? Maybe an arrow function that wasn't transpiled?

I transpile my code using babel, but I usually only do it for my own src folder. Should I be transpiling this package to ES5 before use?

Thanks.

{
  test: /\.js$/,  
  include: path.resolve(__dirname, 'src'),
  use: ['babel-loader']
},

image

Screen from my node_modules folder:

stric-uri-encode:

image

split-on-first

image

query-string

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions