خطأ tsconfig.json: "Build:No inputs were found in config file" في TypeScript و ASP.NET Core
مرحبًا! أنا مبتدئ في TypeScript وأحاول إعداد مشروع ASP.NET Core باستخدام Visual Studio 2015. لدي ملف tsconfig.json في جذر المشروع، ولكن عندما أحاول بناء الحل، يظهر الخطأ التالي:
"Build:No inputs were found in config file. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '["node_modules","bower_components","jspm_packages"]'."
إليك ملف tsconfig.json الخاص بي:
```json
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"sourceMap": true,
"outDir": "./wwwroot/js"
},
"include": [
"**/*"
],
"exclude": [
"node_modules",
"bower_components"
]
}
```
لدي مجلد Scripts يحتوي على ملفات .ts، ولكنها لا تُكتشف لسبب ما. يوجد أيضًا مجلد wwwroot في المشروع حيث أريد حفظ ملفات .js المترجمة. حاولت إعادة تشغيل Visual Studio، وحذف node_modules وإعادة تثبيت الحزم، لكن الخطأ ما زال قائمًا. ما الخطأ الذي أفعله؟ هل يجب تحديد مسار محدد للملفات المصدر؟ أم أن المشكلة في شيء آخر؟