-
-
Notifications
You must be signed in to change notification settings - Fork 734
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
[Bug] Manual assembly and printing function error #4718
Comments
Origin Title: [Bug] 手动组装打印功能报错 Title: [Bug] Manual assembly and printing function error Have you checked the following before you submitted this question?
Affected packages and versions0.6.1 Reproduce linkvue2 + webpack5 Expected behaviorIt is expected that the introduction will not report any errors as before, and it will be used normally. Actual behaviorThe actual situation is now reported: permission.js:45 Error: Cannot find module '@univerjs/core' Running environmentChrome System InformationSystem: |
According to our community guidelines, any issues that do not include a reproduction link and fail to provide reproducible steps will be closed. |
在您提交此问题之前,您是否检查了以下内容?
受影响的包和版本
0.6.1
复现链接
vue2 + webpack5
问题描述:手动组装,引入打印功能的时候报错(所有引入顺序等等保证准确)
引入代码: import { UniverSheetsPrintPlugin } from '@univerjs-pro/sheets-print'
报错内容如下图:
预期行为
预期和以前的老版本一样引入不报错,正常使用。
实际行为
实际情况现在报错:permission.js:45 Error: Cannot find module '@univerjs/core'
at webpackEmptyContext (app.js:41:10)
at ./node_modules/@univerjs-pro/sheets-print/lib/cjs/index.js (chunk-vendors.js:28:1)
at webpack_require (app.js:12392:32)
at fn (app.js:12660:21)
at ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/UniverSheet/index.vue?vue&type=script&lang=js (app.js:6708:1)
at webpack_require (app.js:12392:32)
at fn (app.js:12660:21)
at eval (index.vue?vue&type=script&lang=js:5:218)
运行环境
Chrome
系统信息
System:
OS: Windows 10 10.0.17763
CPU: (5) x64 Intel(R) Xeon(R) CPU E5-2687W v3 @ 3.10GHz
Memory: 3.71 GB / 16.00 GB
Binaries:
Node: 16.20.2 - D:\develop\env\nodejs\node.EXE
npm: 8.19.4 - D:\develop\env\nodejs\npm.CMD
Browsers:
Chrome: 133.0.6943.127
Internet Explorer: 11.0.17763.2989
The text was updated successfully, but these errors were encountered: