工具/软件:
借助 CCS Theia、我无法再打开 example.syscfg 文件。 无论 SDK 版本如何、无论 CCS 版本如何、此问题都仍然存在。 我已卸载所有 CCS theia 文件并重新安装了 CCS2011、问题仍然存在。 我仍然能够编译工程、但无法打开 example.syscfg 文件是一个巨大的开发阻止程序。 下面是我尝试打开文件时发生的情况的屏幕截图:
全文输出为:
两种方法 PayloadTooLargeError:请求实体太大
在 readStream (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\raw-body\index.js:163:17)中
在 getRawBody (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\raw-body\index.js:116:12)中
读取时(C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\body-parser\lib\read.js:79:3)
位于 jsonParser (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\body-parser\lib\types\json.js:138:5)
在 Layer.Handle [作为 handle_request](C:\ti\ccs2011\ccs\theia\resources/app.Asar\node_modules\express\lib\router\layer.js:95:5)
在 trim_prefix 处(C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:328:13)
C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:286:9
位于 Function.process_params (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:346:12)
接下来的步骤(C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:280:10)
位于 ElectronTokenBackendContributtion.expressMiddleware (C:\ti\ccs2011\ccs\theia\resources\app.Asar\node_modules\@theia\core\lib\electro-node\token\electron-token-backend-contribution.js:37:13)
在 readStream (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\raw-body\index.js:163:17)中
在 getRawBody (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\raw-body\index.js:116:12)中
读取时(C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\body-parser\lib\read.js:79:3)
位于 jsonParser (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\body-parser\lib\types\json.js:138:5)
在 Layer.Handle [作为 handle_request](C:\ti\ccs2011\ccs\theia\resources/app.Asar\node_modules\express\lib\router\layer.js:95:5)
在 trim_prefix 处(C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:328:13)
C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:286:9
位于 Function.process_params (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:346:12)
接下来的步骤(C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:280:10)
位于 ElectronTokenBackendContributtion.expressMiddleware (C:\ti\ccs2011\ccs\theia\resources\app.Asar\node_modules\@theia\core\lib\electro-node\token\electron-token-backend-contribution.js:37:13)
错误:
隐藏详细信息...
两种方法
PayloadTooLargeError:请求实体太大地址:File.writeTextFileSync (localhost:51039/.../runtime.js:89:15)地址:Window.eclipRequestSync (localhost:51039/.../file.js:10:9)地址:window.eclipsePutFileContents (localhost:51039/.../.../localhost:51039/:51039/.312:039/ localhost:51039/
在 readStream (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\raw-body\index.js:163:17)中
在 getRawBody (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\raw-body\index.js:116:12)中
读取时(C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\body-parser\lib\read.js:79:3)
位于 jsonParser (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\body-parser\lib\types\json.js:138:5)
在 Layer.Handle [作为 handle_request](C:\ti\ccs2011\ccs\theia\resources/app.Asar\node_modules\express\lib\router\layer.js:95:5)
在 trim_prefix 处(C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:328:13)
C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:286:9
位于 Function.process_params (C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:346:12)
接下来的步骤(C:\ti\ccs2011\ccs\theia\resources\app.asar\node_modules\express\lib\router\index.js:280:10)
位于 ElectronTokenBackendContributtion.expressMiddleware (C:\ti\ccs2011\ccs\theia\resources\app.Asar\node_modules\@theia\core\lib\electro-node\token\electron-token-backend-contribution.js:37:13)
请提供有关任何权变措施的建议。
此致、
Erik