-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
pnpm workspace monorepo方式导出报错 You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file #15955
Comments
DreamPWJ
changed the title
Vue 初始化后报错 TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode) is not a function
pnpm workspace monorepo方式导出报错 You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file
Jun 21, 2024
This was referenced Jun 22, 2024
有最小可复现 demo 吗 |
好了,没有tsx编译, 现在集成nutUI 报错 vue__WEBPACK_IMPORTED_MODULE_1__.normalizeClass, 按照官方文档上配置不行 |
已搞定, 依赖版本和webpack配置有问题, 最新taro默认模板就有问题 |
vue3 + nutui4模板没问题 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 3.4.7
使用框架: Vue 3
复现步骤
ModuleParseError: Module parse failed: Unexpected token (2:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export { Http } from './http/http'
→ Watching... [2024/6/21 17:39:32]
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Array]".] {
code: 'ERR_UNHANDLED_REJECTION'
}
期望结果
正常加载 并支持monorepo方式
实际结果
无法导出通用包功能
环境信息
补充信息
使用pnpm workspace方式
The text was updated successfully, but these errors were encountered: