The TypeScript Compiler (tsc) seems to be unresponsive when running on Raspberry PI

Unexpectedly, my Raspberry Pi stopped working overnight. It seems like a hardware issue might be the cause.

Despite being able to run tsc smoothly on my computer, I am encountering issues when trying to compile on my Raspberry Pi 3. Reinstalling TypeScript and testing it with simple code examples did not solve the problem. Even the tsc --help command does not provide any response.

Answer №1

What specific version of the TypeScript Compiler (tsc) are you currently using?

I recently encountered a similar issue while updating my bot on a Raspberry PI 3. My setup included tsc Version 3.7.5, node v10.16.3, npm v6.13.4. Running $ npm run build and $ tsc seemed unresponsive.

After performing a global reinstallation of tsc ($ npm install -g tsc), both $ tsc and $ npm run build started working again. However, I noticed that the compilation times had significantly increased after the reinstall.

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

What is the best way to send an array of objects to a Jade template?

I'm looking to retrieve an array of objects from MongoDB and pass it to the client... Here is an example object: var objeto_img= { name:'name of the file', ...

Encountered issue during installation of uglify.js on Windows 7 operating system

I'm currently working on updating Bootstrap to the latest version on my Windows 7 system. I am following instructions provided at . NodeJS and NPM have been successfully installed on my machine. However, when attempting to execute the following comman ...

Is there a method to retrieve the email address after obtaining the authentication token in Keystone?

Hey there! I was wondering if anyone knows if it's possible to retrieve a user's email address using the REST API v2.0 provided by Keystone for authentication in my application. I have been looking through the API docs and noticed that you can ge ...

Executing Leaflet on the Node.js backend server

I have been attempting to run Leaflet on a Node.js server without success. I followed the instructions in the download section and used Jake to build it, but when I try to require Leaflet in a server file and start my node server, it crashes with the error ...

Why are there zero tweets showing up on the Twitter search API?

While working with NodeJS and the npm package oauth to interact with Twitter's search API, I am facing a peculiar issue. Despite making the same request and using the correct keys, Twitter is responding with an empty array of statuses without throwing ...

What is the best method for establishing environment variables across different platforms?

When working with Node scripts on Windows, the format should be like this: "scripts": { "start-docs": "SET NODE_ENV=development&&babel-node ./docs/Server.js" } However, on Linux, the SET command is not used, so it would look like this: "scri ...

Nodejs is utilized to alter the data format as it is transferred from the client to the server

I'm encountering an issue with transmitting my data to the server using Node.js. I have a feeling that there are discussions on this topic already, but I'm unsure of what to search for to locate them... Here's a brief overview of my applica ...

Leveraging arrays and objects for simulating data in Angular2

Here is a class I am working with: export class Character { id: number; name: string; portrait: string; abilities: array; equipment: array; statistics: object; money: number; description: string; } ...

Encountering difficulty in retrieving properties from the parent class

Please take a look at the TypeScript snippet provided below: class A { value = 20; func1(){ console.log("parent > " + this.value); } } class B extends A { value = 10; func1(x?:number){ console.log("child > " + this.value); sup ...

Can you point me in the direction of the node_modules folder?

After creating a new AWS instance running ubuntu 16.04 LTS and setting up a directory called NodeT, I executed the following two commands: curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs (source: https://node ...

Using React Native to transfer information to a Node.js server using the fetch API

Hello, I am new to React Native and Node.js, so please bear with me if this question seems basic. Currently, I have a React Native app running from "App.js". import React from 'react'; import { StyleSheet, Text, View, Butto ...

Having trouble installing Electron on Raspberry Pi 3 using npm?

I apologize for the formatting issues with the code I pasted. Recently, I attempted to set up MagicMirror and discovered that installing electron was necessary. However, I kept encountering errors during the process. Despite trying to install various nod ...

It is impossible to terminate the Mongodb server unless you are in the active terminal session

Help needed! I'm a newbie working with express.js and mongodb. I successfully set up a mongodb server in a terminal window using the command: mongod -dbpath *path name* The issue arose when I accidentally closed my text editor without terminating th ...

I am encountering an unspecified variable error in Ionic and I cannot determine the cause

I'm attempting to perform encryption and decryption of a basic text in Ionic. Below is the code snippet I am using: encryptedData : any; encryptData(data){ this.aes .encrypt(this.secureKey, this.secureIV, data) .then(res => { ...

Setting up NPM on my new Mac proved to be a bit challenging, especially after transferring files from my old Linux system. The biggest issue I

Hello everyone...I recently moved some functioning js files from my old Linux system to my new MacBook Air. When attempting to run the files using NPM start in the VS Code terminal, I encountered the following error: (need assistance!) Galias-MacBook-A ...

Utilizing the NODE_ENV variable in a Windows 10 npm script

I have integrated webpack into a Typescript project. Following a helpful tutorial, I created 3 separate webpack configuration files: webpack.common.js webpack.production.js webpack.development.js In the tutorial's package.json, the "scripts" sectio ...

Having trouble accessing the files on MongoDB

I'm currently facing an issue while trying to access my documents stored in a MongoDB database. My approach involves making an AJAX GET request to my Node server, where the server is expected to locate the documents based on the value of the "breed" ...

Can you explain what jwks stands for and what it does with refresh and access tokens in detail?

I am currently developing an authentication system that utilizes access and refresh tokens, as well as JWT and JWKS. I am unsure of the specific functionality of JWKS in this context. How does JWKS function within an authentication system that incorporat ...

Despite the presence of a producer and topic, sending Kafka messages is proving to be a challenge

Currently, I am using TypeScript and the KafkaJS library on my local machine with a single Kafka broker. After successfully connecting a producer, confirming the creation of my topic, and creating messages like so: const changeMessage = { key: id, ...

Why does the for..in loop not function properly when executing a script with ts-node?

Check out ./src/repro.ts class P { do() { console.log('d'); } } const x = new P(); console.log('for in:'); for (const key in x) { console.log(key); } I'm using this configuration file ./tsconfig.json to compile it (tried ...