Category "module"

Dependency not found in Nuxt when defining alias in nuxt.config.js

I'm getting this error when trying to import a file using a custom alias: import api from 'api' api in ./node_modules/babel-loader/lib??ref--2-0!./node_modules

NestJS microservices "Cannot find module"

So, I'm trying to create my first microservice using NestJS, but the moment I try to run it, the service stops with this error: [13:39:21] Found 0 errors. Watch

List not defined when importing a function

I made two modules in Python. The other one is a sentinel-controlled loop that asks for the data and the other module contains the functions needed for computat

Is there any way to find a string from a table?

I don't know if there's any way to find a string from a table in Lua that matches the argument for example. function Library.Instance(object,name) local Expl

How to "require" module "gwt.user" On Java, JDK17, "module-info.java", Netbeans, Maven (Problem Continues)

one can say that, it is a continuation of questionHow to "require" module "gwt.user" On Java, JDK17, "module-info.java", Netbeans, Maven I am updating my old li

Requirement already satisfied but in another env - python env configuration

Even if I've enough experience with Python & VScode, I often get this major misunderstanding. For example, I have two projects Project1_folder .env1

Python3: Import Module over Package

I'm looking for suggestions to import a module over a package in Python3. I don't have control over the names of the files so changing them is not an option. Ad

Have a paper js file that can be imported as a module

I am making a game and I would like to have my code split into two files. One, an ordinary javascript file for the gameplay, the other a paperscript file for al

I have this error which says that there is no "wrapper" in the module curses

import curses import os from curses import wrapper # import Wrapper as Wp def design(stdscr): try: curses.init_pair(1, curses.COLOR_RED, curses.CO

How to install Google Cloud DLP on Mac M1?

I am trying to download Google Cloud DLP on my Mac M1 running macOS Monterey. I am using Python 3.10.4 and pip 22.0.4. I first tried using pip install google-cl

For loop doesnt execute for all instances - OS Module Python

The code below reads the first 4 letters of a filename, and if a folder with those 4 letters exists then it shifts that file to that folder. Otherwise, it creat

How to return a reactive dataframe from within a shiny module that depends on a button click?

Aim: Return a reactive dataframe object from within the module named "modApplyAssumpServer" Problem: I am getting an endless loop. Even if I wrap everything wi

How to "require" module "gwt.user" On Java, JDK17, "module-info.java", Netbeans, Maven

I am trying to keep up with the new changes in Java, one step a time. I am updating my old libraries with module-info.java files. I have a very simple project n

Trouble importing topojson-client in vanilla JS

Hey guys I can't seem to use import/export correctly on my vanilla js file. I've read a couple of tutorials and don't know what i'm doing wrong.. Here's my Java

AttributeError: module "__" has no attribute "___"

I have been wanting to play around with mouse and keyboard automation and I have just downloaded a package called "mouse"(https://github.com/boppreh/mouse). unf

How to declare a variable for service_facts

Below is the sample ansible playbook I use to check the service status using service_facts module and it worked well. Here I need support to define the service

Module does not provide an export named default - compiled typescript module

I'm developing a node npm module in typescript, and after I compile it to commonjs and try to import it, I get the error: SyntaxError: The requested module 'woo

Import geoviews in Anaconda

I am trying to install the geoviews module. I installed it successfully but when I am trying to import it in my code I have this message: No module named 'chann

Why can't export variable members in a PowerShell module using VariablesToExport?

From How to Write a PowerShell Module Manifest I learned that I can export all the variables in the module using VariablesToExport = '*'. However, after using i

Error: module not found in React, cannot resolve 'url' in ...axios/lib/adapters

I'm getting this error and am not sure firstly why it appears and secondly how to resolve. the error message: Compiled with problems:X ERROR in ./node_modu