Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

App error #47

Open
paulusm opened this issue Jun 9, 2019 · 1 comment
Open

App error #47

paulusm opened this issue Jun 9, 2019 · 1 comment

Comments

@paulusm
Copy link

paulusm commented Jun 9, 2019

Hi

I just did a fresh clone and build. Running the app, I get this error in the browser console and the panel does not display.

Indicator.js:4 Uncaught TypeError: t.default.div is not a function
    at Object.parcelRequire.+S2G.preact (Indicator.js:4)
    at f (debug.js:99)
    at p (debug.js:105)
    at Object.parcelRequire.RzfG.preact (Header.js:6)
    at f (debug.js:99)
    at p (debug.js:105)
    at Object.parcelRequire.Focm../index.css (index.js:3)
    at f (debug.js:99)
    at parcelRequire.vKFU (debug.js:125)
    at debug.js:159

The line in sources is (Indicator.js) :

import { h } from 'preact'
import styled from 'preact-emotion'

const Container = styled.div`
  width: calc(var(--padding) * 5);
  text-align: center;
`
@devdouglasonofre
Copy link

devdouglasonofre commented Oct 6, 2019

Based on this Issue on Preact Emotion, there is no more compatibility.

Edit: Just use the 1.1.0 release. It'll work.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants