Skip to content
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

Broken build when using monaco v0.34.1 #40

Open
noru opened this issue Oct 27, 2022 · 0 comments
Open

Broken build when using monaco v0.34.1 #40

noru opened this issue Oct 27, 2022 · 0 comments

Comments

@noru
Copy link

noru commented Oct 27, 2022

Seems something is wrong with the ".tff". Works fine using v0.33.0

✘ [ERROR] No loader is configured for ".ttf" files: ../../node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf

    ../../node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css:9:6:
      9 │   src: url(./codicon.ttf) format("truetype");
        ╵        ~~~~~~~~~~~~~~~~~~

dist/assets/codicon.71cccbf1.ttf                    70.80 KiB
dist/index.html                                     1.89 KiB
[vite-plugin-moncao-editor] Build failed with 1 error:
../../node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css:9:6: ERROR: No loader is configured for ".ttf" files: ../../node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf
error during build:
Error: Build failed with 1 error:
../../node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css:9:6: ERROR: No loader is configured for ".ttf" files: ../../node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf
    at failureErrorWithLog (/Users/zxiu/code/exp-builder-web/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1566:15)
    at /Users/zxiu/code/exp-builder-web/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1024:28
    at /Users/zxiu/code/exp-builder-web/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:969:67
    at buildResponseToResult (/Users/zxiu/code/exp-builder-web/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1022:7)
    at /Users/zxiu/code/exp-builder-web/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1134:14
    at responseCallbacks.<computed> (/Users/zxiu/code/exp-builder-web/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:671:9)
    at handleIncomingPacket (/Users/zxiu/code/exp-builder-web/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:726:9)
    at Socket.readFromStdout (/Users/zxiu/code/exp-builder-web/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:647:7)
    at Socket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)
 ELIFECYCLE  Command failed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant