Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

运行报错【No matching export in "node_modules/@tarojs/runtime/dist/runtime.esm.js" for import "isHasExtractProp"】 #14884

Closed
wuye1200 opened this issue Nov 24, 2023 · 8 comments
Labels
F-vue3 Framework - Vue 3 T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x

Comments

@wuye1200
Copy link

wuye1200 commented Nov 24, 2023

相关平台

支付宝小程序

小程序基础库: 2.0
使用框架: Vue 3

复现步骤

代码没有改变,只是今天突然不能运行。
提示:
[ERROR] No matching export in "node_modules/@tarojs/runtime/dist/runtime.esm.js" for import "isHasExtractProp"

node_modules/@tarojs/plugin-html/dist/runtime.js:1:9:
  1 │ import { isHasExtractProp } from '@tarojs/runtime';

期望结果

正常运行

实际结果

报错 但是别人没有问题 重新下载代码和更换pnpm cnpm 都不行

环境信息

Taro v3.6.19

BUILD_ENV: undefined

  Taro CLI 3.6.19 environment info:
    System:
      OS: macOS 11.6
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.13.0 - /usr/local/bin/node
      Yarn: 1.22.15 - ~/.yarn/bin/yarn
      npm: 8.1.0 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 3.5.11 => 3.5.11
      @tarojs/components: 3.5.11 => 3.5.11
      @tarojs/helper: 3.5.11 => 3.5.11
      @tarojs/plugin-framework-vue3: 3.5.11 => 3.5.11
      @tarojs/plugin-html: ^3.5.11 => 3.6.19
      @tarojs/plugin-platform-alipay: 3.5.11 => 3.5.11
      @tarojs/plugin-platform-jd: 3.5.11 => 3.5.11
      @tarojs/plugin-platform-qq: 3.5.11 => 3.5.11
      @tarojs/plugin-platform-swan: 3.5.11 => 3.5.11
      @tarojs/plugin-platform-tt: 3.5.11 => 3.5.11
      @tarojs/plugin-platform-weapp: 3.5.11 => 3.5.11
      @tarojs/router: 3.5.11 => 3.5.11
      @tarojs/runtime: 3.5.11 => 3.5.11
      @tarojs/shared: 3.5.11 => 3.5.11
      @tarojs/taro: 3.5.11 => 3.5.11
      @tarojs/taro-h5: 3.5.11 => 3.5.11
      @tarojs/webpack5-runner: 3.5.11 => 3.5.11
      babel-preset-taro: 3.5.11 => 3.5.11
      eslint-config-taro: 3.5.11 => 3.5.11
@taro-bot2 taro-bot2 bot added F-vue3 Framework - Vue 3 T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x labels Nov 24, 2023
@OctopusRoe
Copy link

OctopusRoe commented Nov 27, 2023

今天开了个新项目,安装@tarojs/plugin-html插件时候发现了这个问题,3.6.18后的版本兼容有问题,回退至 3.6.18 版本编译通过

@wuye1200
Copy link
Author

我自己也发现目前版本@tarojs/plugin-html 下载不到 @官方需要看看 只要是新下载都不行

@F5F5
Copy link

F5F5 commented Dec 4, 2023

image
我也出现了。。。突然无限报错,不知道咋拯救了

@F5F5
Copy link

F5F5 commented Dec 4, 2023

image 我也出现了。。。突然无限报错,不知道咋拯救了

发现是这个的问题

import { Painter } from "painter-taro-3";

我先注释掉,pnpm dev:weapp跑起来再放开注释就能正常运行,
不注释,直接运行就会无限报错。。。

@luozejian
Copy link

我自己也发现目前版本@tarojs/plugin-html 下载不到 @官方需要看看 只要是新下载都不行
感谢 有用

@liujiufa
Copy link

liujiufa commented Dec 9, 2023

今天开了个新项目,安装@tarojs/plugin-html插件时候发现了这个问题,3.6.18后的版本兼容有问题,回退至 3.6.18 版本编译通过

我怎么会退到3.6.18还是报同样的问题

@cdx111
Copy link

cdx111 commented Dec 15, 2023

@oasis-cloud

@kurisu994
Copy link

@tarojs 所有的包版本必须一致,不能混着用。

@tarojs/plugin-html: 3.5.11

@NervJS NervJS locked and limited conversation to collaborators Feb 19, 2024
@ZakaryCode ZakaryCode converted this issue into discussion #15239 Feb 19, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
F-vue3 Framework - Vue 3 T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

7 participants