Stencil: SyntaxError: Identifier 'h' has already been declared

Created on 13 Apr 2019  路  4Comments  路  Source: ionic-team/stencil

Stencil version:

 @stencil/[email protected]

I'm submitting a:

  • [x] bug report
  • [ ] feature request
  • [ ] support request

Current behavior:
Project will open blank page

Expected behavior:
Should be working as it works with "@stencil/core": "~0.16.2"
Steps to reproduce:

  1. npm init stencil
  2. npm i @stencil/[email protected]
  3. @stencil/[email protected]
  4. npm start

Related code:

npm start

Project will not start some error in console.

All 4 comments

I tried the 0.18.1-0 version but I got
image

Same here.

I just created a new project (without Ionic) using npx init stencil, then upgraded StencilJS to 0.18.1.

@JCKodel install exact version v0.18.1-0 and it will work

Stencil One requires developers to explicitally import the {h} function, that should solve any of the issues described in this issue!

Was this page helpful?
0 / 5 - 0 ratings