Any ideas on troubleshooting the issue in tsconfig.json file?

While working on my node.js website, I decided to run the npm run dev script but encountered an error. Here is the output:

PS C:\Users\yairk\OneDrive\Desktop\personal-website-3D-main> npm run dev

> dev
> webpack serve --config ./bundler/webpack.dev.js

Project running at:
  - http://192.168.0.168:8080
  - http://localhost:8080
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] On Your Network (IPv4): http://192.168.0.168:8080/
<i> [webpack-dev-server] Content not from webpack is served from 'C:\Users\yairk\OneDrive\Desktop\personal-website-3D-main\static' directory
<i> [webpack-dev-middleware] wait until bundle finished: /
ERROR in ./src/script.ts 
[tsl] ERROR
      TS18002: The 'files' list in config file 'tsconfig.json' is empty.

ERROR in ./src/script.ts
Module build failed (from ./node_modules/ts-loader/index.js):
Error: error while parsing tsconfig.json
    at Object.loader (C:\Users\yairk\OneDrive\Desktop\personal-website-3D-main\node_modules\ts-loader\dist\index.js:17:18)

webpack compiled with 2 errors

It seems like the tsconfig.json file is missing in the folders, causing these errors when running the website. Any suggestions on how to address this issue?

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

The program encountered an issue: TypeError - It is unable to access the property 'files' of an undefined value

Incorporating both ng2-file-upload and angular2-img-cropper into my Angular(2+) project has brought about a unique challenge. My goal is to utilize ng2-file-upload's Dropzone feature to load an image into angular2-img-cropper's cropping tool. Wh ...

How can you effectively update the content of a Parent component in react-native by communicating with its child component?

In one of my child components, I have included a button for interaction. Now, within my Parent component, I have three of these child components arranged side by side. Whenever any of these child components are clicked/touched, I want to trigger changes ...

AngularJS ng-table with collapsible headers using jQuery accordion

Currently, I am utilizing AngularJS ng-table to showcase specific information. My goal is to have a fixed header with a scroll bar for the ng-table. Additionally, I aim to include an accordion just before the ng-table. However, when I collapse the accordi ...

Quickly align with vertices using threejs

As I delved into creating a snapping feature to align with my mesh vertices, I embarked on multiple trial-and-error solutions. One method involved introducing THREE.Sprite instances for each vertex in the scene and utilizing a rayCaster to determine if th ...

I am having trouble with my jQuery wrap function and it is not functioning correctly

I'm having trouble with implementing the jQuery wrap function. (function ($) { $.fn.customWrap = function () { applyWrapper(this); return this; }; function applyWrapper($element) { var $input = $('<input&g ...

Accessing JavaScript variables in an HTML iFrame

Is there a way to pass a variable from the main HTML of a website to JavaScript code running inside of an iFrame? Unfortunately, I no longer have access to the main HTML. The only thing I can modify is an iFrame within the HTML. My idea is to embed anothe ...

Difficulty in eliminating left and right padding in Vuetify's Toolbar component despite attempts with spacing helpers

The v-toolbar component features default padding of 24px on the left and right each in the desktop version. Unfortunately, this padding cannot be overridden. I attempted to utilize Vuetify's spacing helpers (pa-0, ma-0), but they only end up shifting ...

DIV not displaying in a horizontal arrangement

I'm trying to get Box1 and Box2 to appear side by side, but for some reason Box2 keeps appearing below Box1. I've simplified the code to remove any links or references, but I can't figure out why they won't align properly. <%@ Con ...

After a loop, a TypeScript promise will be returned

I am facing a challenge in returning after all calls to an external service are completed. My current code processes through the for loop too quickly and returns prematurely. Using 'promise.all' is not an option here since I require values obtain ...

Unexpected behavior occurs when attempting to run an HTML string within a Python file

After inputting the following code, I am getting a blank HTML page. Despite including an <h1> and an <a href> tag, only the <title> tag is being executed. Can anyone shed light on why this is happening and offer guidance on how to resolve ...

Relative positioning of DIV elements

Often, I come across code that looks like this: #container { background:#000000 none repeat scroll 0 0; display:block; overflow:hidden; position:relative; width:100%; } I have always believed that the 'position: relative' CS ...

Is there a way to convert my function into a variable in order to execute an array of statements

I'm struggling to convert this code into a variable. I need to bind it inside a statement execute array. This is the code I am working on, which retrieves the current date and timezone. I attempted using $date = function() {}, echo $date(); but that ...

String includes another String not refreshing automatically

How come myCtrl.greeting doesn't automatically update when I change myCtrl.name? angular.module('MyApp', []) .controller('MainController', [function(){ var mCtrl = this; mCtrl.name = ''; mCt ...

Is the toString() method explicitly invoked by Number() if the value is not of type number or string? (such as a function)

Looking for clarification on the behavior of parseInt() compared to the Number() constructor called as a function. I want to confirm if this is reliable and if there's an official reference to support it. Below is sample code: let adder = (function ...

Unable to retrieve POST parameters using Node.js and Express

I'm currently experimenting with a basic example of a Node.js + Express RESTful API. One action I've set up is to simulate a login request. Below is the code snippet: app.js var express = require('express'); var path = require('p ...

Error: Unable to access the 'slice' property as it is not defined within the context API in React

While working on my project using the context API, I encountered an error that I couldn't figure out. "TypeError: Cannot read property 'slice' of undefined" // context.js import React, { useReducer, createContext, useContext } from "react ...

Running multiple web applications with different base directories on a single Express server

I am currently working on serving a website that requires different static directories for various routes. When a GET request is sent to the /tools* route, I want to utilize the /dist/toolsApp/ directory as the base directory for my frontend code. If ...

What is the best way to incorporate the keydown event into an if/else statement?

For my middle school science fair project, I am working on creating an online light bulb that features a hidden surprise, or an "easter egg," that triggers an alert when activated by a specific key press. Below is the current code I have developed: HTML & ...

use JavaScript to create indentation on the following line

I'm currently utilizing Komodo IDE 8.5. I've been attempting to indent my code to the next line in order to prevent it from extending too far to the right. However, every time I try to indent, it breaks the line and doesn't register properl ...

Avoiding the utilization of automatically generated JSON files as a data source in Rails when

I have implemented javascript code that uses JSON to generate a timeline. The JSON is being created using json_builder and it contains only the current user's information. The JSON displays correctly when accessed directly through its URL, but when th ...