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

项目部署后成功运行了一希时间,现出现如下错误信息 #316

Open
wl700727 opened this issue Sep 27, 2024 · 0 comments
Open

Comments

@wl700727
Copy link

[{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 18,
"startColumn": 20,
"endLineNumber": 18,
"endColumn": 47
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 20,
"startColumn": 20,
"endLineNumber": 20,
"endColumn": 47
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'Response'.",
"source": "ts",
"startLineNumber": 21,
"startColumn": 23,
"endLineNumber": 21,
"endColumn": 31
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'URL'.",
"source": "ts",
"startLineNumber": 29,
"startColumn": 21,
"endLineNumber": 29,
"endColumn": 24
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'Response'.",
"source": "ts",
"startLineNumber": 32,
"startColumn": 18,
"endLineNumber": 32,
"endColumn": 26
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'Response'.",
"source": "ts",
"startLineNumber": 35,
"startColumn": 18,
"endLineNumber": 35,
"endColumn": 26
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'Response'.",
"source": "ts",
"startLineNumber": 43,
"startColumn": 18,
"endLineNumber": 43,
"endColumn": 26
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'Response'.",
"source": "ts",
"startLineNumber": 50,
"startColumn": 15,
"endLineNumber": 50,
"endColumn": 23
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 60,
"startColumn": 19,
"endLineNumber": 60,
"endColumn": 46
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 64,
"startColumn": 20,
"endLineNumber": 64,
"endColumn": 47
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2584",
"severity": 8,
"message": "Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.",
"source": "ts",
"startLineNumber": 74,
"startColumn": 3,
"endLineNumber": 74,
"endColumn": 10
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 80,
"startColumn": 29,
"endLineNumber": 80,
"endColumn": 56
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'WritableStream'.",
"source": "ts",
"startLineNumber": 88,
"startColumn": 37,
"endLineNumber": 88,
"endColumn": 51
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'Response'.",
"source": "ts",
"startLineNumber": 151,
"startColumn": 13,
"endLineNumber": 151,
"endColumn": 21
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 165,
"startColumn": 19,
"endLineNumber": 165,
"endColumn": 46
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 172,
"startColumn": 21,
"endLineNumber": 172,
"endColumn": 48
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2584",
"severity": 8,
"message": "Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.",
"source": "ts",
"startLineNumber": 190,
"startColumn": 4,
"endLineNumber": 190,
"endColumn": 11
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 206,
"startColumn": 19,
"endLineNumber": 206,
"endColumn": 46
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'ReadableStream'.",
"source": "ts",
"startLineNumber": 212,
"startColumn": 21,
"endLineNumber": 212,
"endColumn": 35
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'TextDecoder'.",
"source": "ts",
"startLineNumber": 350,
"startColumn": 23,
"endLineNumber": 350,
"endColumn": 34
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 394,
"startColumn": 19,
"endLineNumber": 394,
"endColumn": 46
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 395,
"startColumn": 19,
"endLineNumber": 395,
"endColumn": 46
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'WritableStream'.",
"source": "ts",
"startLineNumber": 409,
"startColumn": 8,
"endLineNumber": 409,
"endColumn": 22
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'Blob'.",
"source": "ts",
"startLineNumber": 426,
"startColumn": 32,
"endLineNumber": 426,
"endColumn": 36
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2584",
"severity": 8,
"message": "Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.",
"source": "ts",
"startLineNumber": 442,
"startColumn": 6,
"endLineNumber": 442,
"endColumn": 13
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2584",
"severity": 8,
"message": "Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.",
"source": "ts",
"startLineNumber": 447,
"startColumn": 4,
"endLineNumber": 447,
"endColumn": 11
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'atob'.",
"source": "ts",
"startLineNumber": 475,
"startColumn": 18,
"endLineNumber": 475,
"endColumn": 22
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2339",
"severity": 8,
"message": "Property 'charCodeAt' does not exist on type 'number'.",
"source": "ts",
"startLineNumber": 476,
"startColumn": 55,
"endLineNumber": 476,
"endColumn": 65
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 496,
"startColumn": 19,
"endLineNumber": 496,
"endColumn": 46
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2584",
"severity": 8,
"message": "Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.",
"source": "ts",
"startLineNumber": 504,
"startColumn": 3,
"endLineNumber": 504,
"endColumn": 10
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2792",
"severity": 8,
"message": "Cannot find module '@cloudflare/workers-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?",
"source": "ts",
"startLineNumber": 526,
"startColumn": 19,
"endLineNumber": 526,
"endColumn": 46
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2552",
"severity": 8,
"message": "Cannot find name 'TransformStream'. Did you mean 'transformStream'?",
"source": "ts",
"startLineNumber": 533,
"startColumn": 30,
"endLineNumber": 533,
"endColumn": 45,
"relatedInformation": [
{
"startLineNumber": 533,
"startColumn": 8,
"endLineNumber": 533,
"endColumn": 23,
"message": "'transformStream' is declared here.",
"resource": "/wl-test/worker.js"
}
]
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'WritableStream'.",
"source": "ts",
"startLineNumber": 555,
"startColumn": 38,
"endLineNumber": 555,
"endColumn": 52
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'fetch'.",
"source": "ts",
"startLineNumber": 557,
"startColumn": 23,
"endLineNumber": 557,
"endColumn": 28
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'Blob'.",
"source": "ts",
"startLineNumber": 572,
"startColumn": 31,
"endLineNumber": 572,
"endColumn": 35
},{
"resource": "/wl-test/worker.js",
"owner": "typescript",
"code": "2304",
"severity": 8,
"message": "Cannot find name 'Blob'.",
"source": "ts",
"startLineNumber": 574,
"startColumn": 31,
"endLineNumber": 574,
"endColumn": 35
}]

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