-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Description
相关平台
微信小程序
小程序基础库: 3.8.10
使用框架: Vue 3
复现步骤
taro init first_test (Taro v4.1.2) -> Vue3 -> TS(yes) -> ES5(yes) -> less -> npm -> Vite -> Gitee -> vue3-pinia
期望结果
npm install 能够正常运行(package.json不会缺失逗号)
实际结果
package.json在初始化项目后缺失逗号导致npm install失败(需手动添加)
环境信息
D:\Trae_Project\first_test>taro info
👽 Taro v4.1.2
Taro CLI 4.1.2 environment info:
System:
OS: Windows 11 10.0.22631
Binaries:
Node: 18.20.8 - D:\Nvm_Node\node.EXE
npm: 10.8.2 - D:\Nvm_Node\npm.CMD
npmPackages:
@tarojs/cli: 4.1.2 => 4.1.2
@tarojs/components: 4.1.2 => 4.1.2
@tarojs/helper: 4.1.2 => 4.1.2
@tarojs/plugin-framework-vue3: 4.1.2 => 4.1.2
@tarojs/plugin-platform-alipay: 4.1.2 => 4.1.2
@tarojs/plugin-platform-h5: 4.1.2 => 4.1.2
@tarojs/plugin-platform-jd: 4.1.2 => 4.1.2
@tarojs/plugin-platform-qq: 4.1.2 => 4.1.2
@tarojs/plugin-platform-swan: 4.1.2 => 4.1.2
@tarojs/plugin-platform-tt: 4.1.2 => 4.1.2
@tarojs/plugin-platform-weapp: 4.1.2 => 4.1.2
@tarojs/runtime: 4.1.2 => 4.1.2
@tarojs/shared: 4.1.2 => 4.1.2
@tarojs/taro: 4.1.2 => 4.1.2
@tarojs/vite-runner: 4.1.2 => 4.1.2
babel-preset-taro: 4.1.2 => 4.1.2
eslint-config-taro: 4.1.2 => 4.1.2
补充信息
可能是选择less导致的,小程序没有运行在项目初始化后就已经出现问题了
Metadata
Metadata
Assignees
Labels
No labels