-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
微信原生小程序转taro报错 #16371
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Aug 22, 2024
This was referenced Aug 24, 2024
这是缺少依赖了。原地在需要转换的文件夹的cmd输入npm install eslint-plugin-taro可解决。 |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 2.33.0
使用框架: React
复现步骤
npx @tarojs/cli-convertor
期望结果
生成taroConvert
实际结果
报错Failed to load plugin 'taro' declared in 'BaseConfig': Cannot find module 'eslint-plugin-taro'
Require stack:
Referenced from: BaseConfig
internal/fs/utils.js:332
throw err;
^
Error: EPERM: operation not permitted, unlink 'C:\Users\admin\AppData\Roaming\npm-cache_npx\21036\node_modules@tarojs\cli-convertor\node_modules@swc\core-win32-x64-msvc\swc.win32-x64-msvc.node'
at Object.unlinkSync (fs.js:1255:3)
at fixWinEPERMSync (D:\soft\nvm\nvm\v14.19.0\node_modules\npm\node_modules\rimraf\rimraf.js:219:13)
at rimrafSync (D:\soft\nvm\nvm\v14.19.0\node_modules\npm\node_modules\rimraf\rimraf.js:319:28)
at D:\soft\nvm\nvm\v14.19.0\node_modules\npm\node_modules\rimraf\rimraf.js:350:5
at Array.forEach ()
at rmkidsSync (D:\soft\nvm\nvm\v14.19.0\node_modules\npm\node_modules\rimraf\rimraf.js:349:26)
at rmdirSync (D:\soft\nvm\nvm\v14.19.0\node_modules\npm\node_modules\rimraf\rimraf.js:342:7)
at fixWinEPERMSync (D:\soft\nvm\nvm\v14.19.0\node_modules\npm\node_modules\rimraf\rimraf.js:217:5)
at rimrafSync (D:\soft\nvm\nvm\v14.19.0\node_modules\npm\node_modules\rimraf\rimraf.js:319:28)
at D:\soft\nvm\nvm\v14.19.0\node_modules\npm\node_modules\rimraf\rimraf.js:350:5 {
errno: -4048,
syscall: 'unlink',
code: 'EPERM',
path: 'C:\Users\admin\AppData\Roaming\npm-cache\_npx\21036\node_modules\@tarojs\cli-convertor\node_modules\@swc\core-win32-x64-msvc\swc.win32-x64-msvc.node'
}
环境信息
The text was updated successfully, but these errors were encountered: