Adding the Barbatus TypeScript package resulted in an error: ENOENT: The specified file or directory does not exist

Currently following a tutorial at

I have already configured NODE_TLS_REJECT_UNAUTHORIZED=0

Operating on Windows 10 with a proxy server!

Encountered an error while trying to install typescript for meteor

This is the error message I received:

D:\WhatsApp Clone with Metor and Ionic 2 CLI\whatsapp\api>meteor add barbatus:typescript
C:\Users\marcelo-gf\AppData\Local\.meteor\packages\meteor-tool\1.6.0-rc.7\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:218
      throw error;
      ^

Error: ENOENT: no such file or directory, stat 'D:\WhatsApp Clone with Metor and Ionic 2 CLI\whatsapp\uuid\bin\uuid'
    // The rest of the error message has been cut off for brevity		

Answer №1

Hey there everyone! I finally figured out the solution to my problem. It's strange, but now I can move forward with the tutorial. I decided to start fresh and install the latest version of all components.

> D:\WhatsApp Clone with Metor and Ionic 2 CLI\whatsapp\api>meteor add
> barbatus:typescript
> 
> Changes to your project's package version selections:
> 
> barbatus:typescript           added, version 0.6.12
> barbatus:typescript-compiler  added, version 0.9.12
> barbatus:typescript-runtime   added, version 1.0.2
> 
> 
> barbatus:typescript: TypeScript for Meteor
> 
> D:\WhatsApp Clone with Metor and Ionic 2 CLI\whatsapp\api>ionic
> --version
> 3.19.0
> 
> D:\WhatsApp Clone with Metor and Ionic 2 CLI\whatsapp\api>cordova
> --version
> 8.0.0
> 
> D:\WhatsApp Clone with Metor and Ionic 2 CLI\whatsapp\api>meteor
> --version Meteor 1.6.0.1

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

Error Encountered in Cypress: "Tried to wrap warn but it is already wrapped"

Objective: Utilize Cypress and Typescript to test for warnings and errors on the console. Error Encounter: An attempt was made to wrap warn, which is already wrapped. Snippet: describe.only("Unauthenticated User", () => { it("No C ...

Customizing hover effects for select field options

I need help customizing the background color of a dropdown menu when hovered over. I attempted to assign a class "page-limit-option" to the option element, but it didn't work. Should I create a new style component instead of using the option? <sele ...

Utilizing MUI for layering components vertically: A step-by-step guide

I am looking for a way to style a div differently on Desktop and Mobile devices: ------------------------------------------------------------------ | (icon) | (content) |(button here)| ----------------------------------------- ...

Retrieve the chosen selection from a dropdown menu using AngularJS and Ionic

I've been encountering some issues with the select feature in AngularJS. Despite searching extensively for solutions, none seem to be working for me. The JSON structure I'm dealing with is generated from my service.php: [ { "Name": ...

Can you explain the purpose and significance of addEventListener()?

class MyController{ public myEntities = ko.observableArray(); constructor(modelData) { var me = this; me.onViewLoaded.addEventListener(() => { me.myEntities.push(modelData); }); } The ...

What is the method to invoke a login function in TestCafe using a Utility class?

As a beginner in TestCafe and TypeScript, I am looking to implement a login function within a utility class and then utilize it in the beforeEach method. ...

How to Utilize an Array from Observable Object in Angular 2 with ngFor and Async Pipe

I am currently learning about the utilization of Observables in Angular 2. Here is a snippet of code from a service I am working with: import {Injectable, EventEmitter, ViewChild} from '@angular/core'; import {Observable} from "rxjs/Observab ...

Error message: Deno package code encounters error due to the absence of 'window' definition

I am facing an issue with a npm package I imported into my Deno project. The code in the package contains a condition: if (typeof window === 'undefined') { throw new Error('Error initializing the sdk: window is undefined'); } Wheneve ...

Adding CSS Files to Angular Bundle

Currently in the process of creating a tarball npm package via npm: npm run build-release npm pack dist/ Once that is done, I install the package in a different Angular application using npm install xxx.tgz. This allows me to use components from the firs ...

Change the background color of mat-select to match the selected mat-option

<mat-form-field> <mat-select [formControlName]="name"> <mat-option [value]="option.id" [ngStyle]="{backgroundColor: option.color}" *ngFor="let option of list; let i = index" ...

Error during Ionic Runtime (Network connectivity issue)

Hey there, I'm facing an issue and I can't seem to figure out how to resolve it. An error related to the network (like a timeout, interrupted connection, or unreachable host) has popped up. I came across a suggestion to install cordova-plugin-wh ...

Trouble disabling specific days of the week in Meteor's Bootstrap3 datetimepicker

Currently, I'm utilizing bootstrap 3 within a meteor project and I have a requirement to deactivate most of the days of the week in a datetime picker. Although the other options I've configured appear to be functioning correctly, the daysOfWeekD ...

Using a dictionary of class types as input and returning a dictionary of their corresponding instances

Is there a way to create a function that takes a dictionary with class values as an argument and returns a dictionary of their instances? For example: classes C1, C2 function f: ({ name1: C1, name2: C2 }): ({ name1: new C1() name2: new C2 ...

What is the best approach to incorporating a series of values in TypeScript through an interface?

Trying to incorporate an interface in a class like this: type TLanguage = "TYPE" | "SCRIPT" // Values that can be reused interface AnyInterface { business: TLanguage /** MoreTypes */ } class Anyclass implements AnyInterface{ ...

Using the Capacitor plugin for Firebase Auth, log in to Azure AD B2C with Ionic/Angular

I have been trying to authenticate with Microsoft using a Capacitor plugin, but I haven't had any success so far. I carefully followed the instructions in this documentation and made sure everything is well configured. Could you please guide me on w ...

Encountering an error on Ionic 4, Angular 8: Unable to access property 'subscribe' of undefined

I have a project that utilizes Ionic 4 and Angular 8. The project requires integration with a payment gateway service, which I am accomplishing using the Ionic 4 InAppBrowser plugin to open the payment gateway site. This is how I've implemented it: ...

Relative paths within SCSS documents

I've encountered an issue with relative URL paths in my SCSS file. For example: &.id-1 { background-image: url("./assets/images/live-sports/icon-soccer.svg"); } And for another element, the URL path is: &.id-1 { -webkit-mask-image: ...

Using Lerna with Docker for Next.js and GraphQL applications

Currently, I am working with lerna and everything runs smoothly locally. However, when I attempt to build the image and operate it through Docker, it does not function as expected. FROM node:16-alpine3.11 ENV NODE_ENV=production COPY . /app WORKDIR /app R ...

Swagger is refusing to cooperate because my model's attributes are set to true

Currently delving into Swagger and its documentation functionality through a YAML file. Previously, I had used @swagger in the controller file and everything worked fine. However, when attempting to transition to a YAML file for better organization, issues ...

What is the best way to dynamically generate and update the content of a select input in an Angular form using reactive programming techniques?

I have successfully developed an Angular reactive form that includes a select field populated dynamically with values retrieved from an API call. In addition, I have managed to patch the form fields with the necessary data. My current challenge is to dyn ...