Category "module"

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

Python environment or installation doesn't have the spyder-kernels module or the right version of it installed

I've tried several of the other suggestions/answers on this exact topic. I used Spyder-kernel 2.0.5 with Spyder 5.0.5 with Python 3.9.6. The env activation proc

YouCompleteMe unavailable: module 'collections' has no attribute 'Mapping'

Hi I have been trying to setup YouCompleteMe in vim but it don't work. I am using vim-plug. I tried around 3 different YouCompleteMe repositories but i always g

Error: Cannot find module. Please verify that the package.json has a valid "main" entry

As I'm creating MERN stack login-system with bcyrpt implemented, I have done 'npm install' and 'npm install bcrpyt --save' in my root folder for server to work.

Access module attribute from within the function

I have a function and the fully qualified name is -> pyserv.asynch.service.modules.get_result() It is possible that pyserv or other module, say services or m

Difference between NodeJs preload option (-r) and explicit require in in REPL

I'm using esm which is a very useful package to support ES import keywords. According to the doc, in REPL, it can use preload command-line option to initialize

Continuous error in module: TypeError: Artist() takes no arguments

Working through an assignment, and have tried multiple changes to both the Class and the Module but I still am getting an error, "TypeError: Artist() takes no a

Cannot access object from GraphQL query (JavaScript)

Subgraph query returns results to console, but my javascript module can't access any values from it, returning an error: TypeError: Cannot read properties of un

"type": "module" import issue

Using js librairies, I struggle with the fact that require and import are not suitable together. When I write "type": "module" in the package.json, then import

Can you import a NestJS module on condition

I'am creating a microservice in NestJS. Now I want to use RabbitMQ to send messages to another service. My question is: is it possible to import the RabbitmqMod

Can you import a NestJS module on condition

I'am creating a microservice in NestJS. Now I want to use RabbitMQ to send messages to another service. My question is: is it possible to import the RabbitmqMod

Nginx fancy-index header and footer never load

I'm creating a Nginx file server, and I'm trying to enable the fancy-index module to get have custom header and footer, but I can't get it working, the header/f

How to import flutter module to a flutter project?

I have a flutter module project and I want to import it into another existing flutter project, how can I do this? I think this may not be possible since there w

Standalone exe file Python without Python installed

I am trying to create executable file from Python script with os, tkiner, pandas and xlsxwriter packages. I used pyinstaller, but always get error that pandas i