Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

新建项目报错 #12770

Closed
BadKid90s opened this issue Nov 3, 2022 · 3 comments
Closed

新建项目报错 #12770

BadKid90s opened this issue Nov 3, 2022 · 3 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@BadKid90s
Copy link

相关平台

H5

浏览器版本: 107.0.5304.87
使用框架: React

复现步骤

npx @tarojs/cli init taro-app
cd taro-app
npm run dev:h5

期望结果

首页显示

实际结果

不显示

环境信息

Taro v3.5.7


  Taro CLI 3.5.7 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.18 - C:\Program Files\nodejs\yarn.CMD
      npm: 8.6.0 - C:\Program Files\nodejs\npm.CMD 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Nov 3, 2022
@robinv8 robinv8 added the bug Something isn't working label Nov 3, 2022
@robinv8
Copy link
Member

robinv8 commented Nov 3, 2022

node 14、16 下均报错

runtime.js:39 Uncaught ReferenceError: $RefreshReg$ is not defined
    at eval (events.js?faa1:497:1)
    at ./node_modules/events/events.js (app.js:29:1)
    at __webpack_require__ (runtime.js:36:33)
    at fn (runtime.js:472:21)
    at eval (emitter.js?93e2:1:1)
    at ./node_modules/webpack/hot/emitter.js (app.js:213:1)
    at __webpack_require__ (runtime.js:36:33)
    at fn (runtime.js:472:21)
    at eval (reloadApp.js:2:80)
    at ./node_modules/webpack-dev-server/client/utils/reloadApp.js (app.js:192:1)

@BadKid90s
Copy link
Author

解决了

@ZakaryCode
Copy link
Contributor

Duplicate of #12685

@ZakaryCode ZakaryCode marked this as a duplicate of #12685 Nov 4, 2022
@ZakaryCode ZakaryCode added the duplicate This issue or pull request already exists label Nov 4, 2022
@taro-bot2 taro-bot2 bot closed this as completed Nov 4, 2022
@taro-bot2 taro-bot2 bot closed this as completed Nov 4, 2022
@ZakaryCode ZakaryCode moved this to Done in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

3 participants