openimsdk / openim-sdk-core

Instant Messaging
https://openim.io
Apache License 2.0
356 stars 318 forks source link

Bug: use official doc to build my weixin-miniprogram error #82

Closed PolarishT closed 1 month ago

PolarishT commented 1 year ago

What happened?

image bug : can not require('open-im-sdk') step: 1. start weixin-mini-program

  1. npm install open-imsdk
  2. import OpenIMSDK

What did you expect to happen?

needs to provide a Feasible way to build bugreproduce : can not require('open-im-sdk') step: 1. start weixin-mini-program

  1. npm install open-imsdk
  2. import OpenIMSDK

How can we reproduce it (as minimally and precisely as possible)?

bugreproduce : can not require('open-im-sdk') step: 1. start weixin-mini-program

  1. npm install open-imsdk
  2. import OpenIMSDK

Anything else we need to know?

none

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

each verison

Install tools

Bloomingg commented 1 year ago

You need to build npm first, refer to the official WeChat development documentation(https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html).

kubbot commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

kubbot commented 1 year ago

This issue was closed because it has been stalled for 7 days with no activity.