github-tools / github-tools/github

Uncaught SyntaxError: Unexpected token import

未关闭
#392 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
needs clarification
主要语言
JavaScript
星标
3.8k
派生
809
PR 合并指标
30 天内没有已合并 PR

描述

geting this error in Chrome (Uncaught SyntaxError: Unexpected token import) with this line of code

"import GitHub from 'github-api';"??

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing the reported error in Chrome with the line "import GitHub from 'github-api';". Check how the github-api package is intended to be loaded in the browser and identify the expected browser entry point. Done means the documented usage no longer produces an uncaught SyntaxError.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
api
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。