Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Compilation errors #66

Open
owen9825 opened this issue Jul 28, 2021 · 0 comments
Open

Compilation errors #66

owen9825 opened this issue Jul 28, 2021 · 0 comments

Comments

@owen9825
Copy link

I cloned the repository and ran npm install, using NodeJS v16.5.0 in Ubuntu 20.04.2. Upon running yarn start, a webpage started loading, but then in the console, I saw:

Failed to compile.

./src/components/Layout/Searchbar/Searchbar.js
Syntax error: Unexpected token (102:11)

  100 |       <ContainerDimensions>
  101 |         {({ width, height }) => (
> 102 |           <>
      |            ^
  103 |             <SearchWrapper>
  104 |               {enterPress && search(value)}
  105 |               <SearchInput

I see that Searchbar.js hasn't changed in a while though, which is puzzling. I'm using commit e52cffa.

In the local directory, I have a file development.env which contains 1 line: TZSTATS_API_URL=http://localhost:8000.

tzindex was running, connected to a Docker flextesa image. I built it locally and ran ./tzindex run --rpcurl http://localhost:20000.

I had expected the page at http://localhost:3000 to be rendered without compilation errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant