Skip to content
This repository was archived by the owner on Dec 30, 2021. It is now read-only.

Migrating Reactboilerplate app into CSA failing #183

@dotamir

Description

@dotamir

Hi.
I'm trying to migrate our web application into snowpack using CSA React template but I got a weird error that I couldn't find any solution for it.
Currently, we're using Reactboilerplate in our web application.
But when I migrate codebase into snowpack project without any changes on snowpack configuration I got this error:

Snowpack

  Server starting…

  mount:web_modules.......[READY] mount $WEB_MODULES --to /web_modules
  mount:public............[READY] mount public --to /
  mount:src...............[READY] mount src --to /_dist_
  build:.ts,.tsx..........[READY] (default) esbuild
  build:js,jsx............[READY] (plugin) @snowpack/plugin-babel

▼ Console

  [log] ! updating dependencies...
  [warn] The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
  [warn] The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
  [warn] The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten

And then stuck in this section.

Does anyone have any idea what is this happening?

Thanks in advance.

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