dcloudio / dcloudio/uni-app

Uncaught TypeError: Object(...) is not a function at createPinia

Open
#4,086 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

**问题描述**
[问题描述:uniapp vue2版本使用Pinia报错]

**复现步骤**
[复现问题的步骤]
![image](https://user-images.githubusercontent.com/49052328/209514943-f952cf93-3c67-446f-b789-c814ec877153.png)

**预期结果**
[使用简洁清晰的语言描述你希望生效的预期结果]

**实际结果**
Uncaught TypeError: Object(...) is not a function at createPinia
![image](https://user-images.githubusercontent.com/49052328/209515414-735b037e-4d40-45cf-bd34-a5baf1d97779.png)

**系统信息:**
- 发行平台: 微信小程序
- 操作系统: iOS
uni-app v3.6.14
uni-app cli v2.0.2-3061420221215003

![image](https://user-images.githubusercontent.com/49052328/209515363-192a241a-c1aa-4f71-b138-b2b23b1487b4.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.