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

Can't compile success #759

Open
MRLuowen opened this issue Oct 11, 2022 · 0 comments
Open

Can't compile success #759

MRLuowen opened this issue Oct 11, 2022 · 0 comments

Comments

@MRLuowen
Copy link

assets by status 2.52 KiB [cached] 1 asset
asset output-stats.json 7.11 KiB [emitted] [compared for emit]
asset index.html 264 bytes [compared for emit]
./packages/client/src/app.tsx 39 bytes [built] [code generated] [1 error]

ERROR in ./packages/client/src/app.tsx
Module build failed (from ./node_modules/happypack/loader.js):
TypeError: s.codePointAt is not a function
at codePointAt (/Users/bytedance/study/ssr-example/node_modules/typescript/lib/typescript.js:11406:81)
at Object.scan (/Users/bytedance/study/ssr-example/node_modules/typescript/lib/typescript.js:10561:26)
at nextTokenWithoutCheck (/Users/bytedance/study/ssr-example/node_modules/typescript/lib/typescript.js:29074:43)
at nextToken (/Users/bytedance/study/ssr-example/node_modules/typescript/lib/typescript.js:29086:20)
at parseSourceFileWorker (/Users/bytedance/study/ssr-example/node_modules/typescript/lib/typescript.js:28778:13)
at Object.parseSourceFile (/Users/bytedance/study/ssr-example/node_modules/typescript/lib/typescript.js:28632:26)
at Object.createSourceFile (/Users/bytedance/study/ssr-example/node_modules/typescript/lib/typescript.js:28431:29)
at Object.transpileModule (/Users/bytedance/study/ssr-example/node_modules/typescript/lib/typescript.js:129772:29)
at getTranspilationEmit (/Users/bytedance/study/ssr-example/node_modules/ts-loader/dist/index.js:390:75)
at successLoader (/Users/bytedance/study/ssr-example/node_modules/ts-loader/dist/index.js:38:11)

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