I add tinymce@6.8.5 dep to project. dev normal. build error.
Opened this issue · 0 comments
whoooami commented
Describe the bug
pnpm dev run normal. pnpm build error:
ReferenceError: tinymce is not defined
at Object.<anonymous> (node_modules/.pnpm/tinymce@6.8.3/node_modules/tinymce/icons/default/icons.js:1:1)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at cjsLoader (node:internal/modules/esm/translators:345:17)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:294:7)
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
dist/preview/word.html 14.76 KiB
Unable to locate stylesheet: dist/web/assets/app-SzeiH9Y_.css
Reproduction
NO
System Info
npm: 21.1.0
pnpm: 9.11.0
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)