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

taro4.0.4 Vue3+TS+Vite小程序无法预览 #3190

Open
Thank4 opened this issue Sep 10, 2024 · 4 comments
Open

taro4.0.4 Vue3+TS+Vite小程序无法预览 #3190

Thank4 opened this issue Sep 10, 2024 · 4 comments

Comments

@Thank4
Copy link

Thank4 commented Sep 10, 2024

NutUI 包名

@nutui/nutui-taro

NutUI 版本号

4.3.12

平台

weapp

重现链接

重现步骤

运行执行小程序不显示

QQ_1725960846249

期望的结果是什么?

正确运行

实际的结果是什么?

不能正确运行

环境信息

👽 Taro v4.0.4

(node:84112) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)

Taro CLI 4.0.4 environment info:
System:
OS: macOS 14.2
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.5.0 - ~/.nvm/versions/node/v21.5.0/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.8.0 - ~/.nvm/versions/node/v21.5.0/bin/npm
npmPackages:
@tarojs/cli: 4.0.4 => 4.0.4
@tarojs/components: 4.0.4 => 4.0.4
@tarojs/helper: 4.0.4 => 4.0.4
@tarojs/plugin-framework-vue3: 4.0.4 => 4.0.4
@tarojs/plugin-html: 4.0.4 => 4.0.4
@tarojs/plugin-platform-alipay: 4.0.4 => 4.0.4
@tarojs/plugin-platform-h5: 4.0.4 => 4.0.4
@tarojs/plugin-platform-harmony-hybrid: 4.0.4 => 4.0.4
@tarojs/plugin-platform-jd: 4.0.4 => 4.0.4
@tarojs/plugin-platform-qq: 4.0.4 => 4.0.4
@tarojs/plugin-platform-swan: 4.0.4 => 4.0.4
@tarojs/plugin-platform-tt: 4.0.4 => 4.0.4
@tarojs/plugin-platform-weapp: 4.0.4 => 4.0.4
@tarojs/runtime: 4.0.4 => 4.0.4
@tarojs/shared: 4.0.4 => 4.0.4
@tarojs/taro: 4.0.4 => 4.0.4
@tarojs/vite-runner: 4.0.4 => 4.0.4
babel-preset-taro: 4.0.4 => 4.0.4
eslint-config-taro: 4.0.4 => 4.0.4

其他补充信息

{
"name": "yirijian-miniprogram",
"version": "1.0.0",
"private": true,
"description": "一日检",
"templateInfo": {
"name": "default",
"typescript": true,
"css": "Sass",
"framework": "Vue3"
},
"scripts": {
"build:weapp": "taro build --type weapp",
"build:swan": "taro build --type swan",
"build:alipay": "taro build --type alipay",
"build:tt": "taro build --type tt",
"build:h5": "taro build --type h5",
"build:rn": "taro build --type rn",
"build:qq": "taro build --type qq",
"build:jd": "taro build --type jd",
"build:harmony-hybrid": "taro build --type harmony-hybrid",
"dev:weapp": "npm run build:weapp -- --watch",
"dev:swan": "npm run build:swan -- --watch",
"dev:alipay": "npm run build:alipay -- --watch",
"dev:tt": "npm run build:tt -- --watch",
"dev:h5": "npm run build:h5 -- --watch",
"dev:rn": "npm run build:rn -- --watch",
"dev:qq": "npm run build:qq -- --watch",
"dev:jd": "npm run build:jd -- --watch",
"dev:harmony-hybrid": "npm run build:harmony-hybrid -- --watch"
},
"browserslist": [
"defaults and fully supports es6-module",
"maintained node versions"
],
"author": "",
"dependencies": {
"@babel/runtime": "^7.24.4",
"@nutui/nutui-taro": "^4.3.12",
"@tarojs/components": "4.0.4",
"@tarojs/helper": "4.0.4",
"@tarojs/plugin-framework-vue3": "4.0.4",
"@tarojs/plugin-html": "4.0.4",
"@tarojs/plugin-platform-alipay": "4.0.4",
"@tarojs/plugin-platform-h5": "4.0.4",
"@tarojs/plugin-platform-harmony-hybrid": "4.0.4",
"@tarojs/plugin-platform-jd": "4.0.4",
"@tarojs/plugin-platform-qq": "4.0.4",
"@tarojs/plugin-platform-swan": "4.0.4",
"@tarojs/plugin-platform-tt": "4.0.4",
"@tarojs/plugin-platform-weapp": "4.0.4",
"@tarojs/runtime": "4.0.4",
"@tarojs/shared": "4.0.4",
"@tarojs/taro": "4.0.4",
"vue": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@nutui/auto-import-resolver": "^1.0.0",
"@tarojs/cli": "4.0.4",
"@tarojs/vite-runner": "4.0.4",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"babel-preset-taro": "4.0.4",
"eslint": "^8.57.0",
"eslint-config-taro": "4.0.4",
"eslint-plugin-vue": "^9.17.0",
"postcss": "^8.4.38",
"sass": "^1.75.0",
"stylelint": "^16.4.0",
"terser": "^5.30.4",
"typescript": "^5.4.5",
"unplugin-vue-components": "^0.27.4",
"vite": "^4.2.0"
}
}

@renbooc
Copy link

renbooc commented Sep 12, 2024

请问是否解决?同样的问题发生了

@Thank4
Copy link
Author

Thank4 commented Sep 12, 2024

请问是否解决?同样的问题发生了

没有,看最近的issue都没有回复,感觉准备放弃了

@dyingChinese
Copy link

我也遇到了相同的问题
i also find the same problem.

@zmqcherish
Copy link

+1

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

No branches or pull requests

4 participants