line / line/create-liff-app

Bug: templates broken (nuxt, react, svelte)

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: triage
Dominant language
TypeScript
Stars
82
Forks
17
PR merge metrics
No merged PRs in 30d

Description

# 🐛 Bug Report

When using the templates `nuxt`, `react`, or `svelte`, running the LIFF app results in an error.

## 🤔 Expected Behavior

Expect to see `LIFF init succeeded` on browser

![Image](https://github.com/user-attachments/assets/28221448-4fde-467d-8419-6135f8e99dfb)

## 😯 Current Behavior

Bug by each template:

---

Nuxt: `LIFF init failed`
![Image](https://github.com/user-attachments/assets/ea5cc310-5427-4578-b0c5-4ab0be5b0ace)

---

React: blank page, console error (`TypeError: ReactDOM.render is not a function`)
![Image](https://github.com/user-attachments/assets/72e8c0ad-2969-47eb-9af6-7b431c7a70e3)

---

Svelte: blank page, console error (`Uncaught Svelte error: component_api_invalid_new`)
![Image](https://github.com/user-attachments/assets/cf415478-91b9-464c-a047-8989461cbcdf)

## 💁 Possible Solution

## 🔦 Context

## 💻 Code Sample

## 🌍 Your Environment

## 🕷 Tracking Issue (optional)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the nuxt, react, and svelte templates described in the report. Check that each template runs successfully, displays `LIFF init succeeded` in the browser, and no longer shows the reported initialization, ReactDOM, or Svelte errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, react, typescript
Domain
cli, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.