Category "import"

delay NgModule declaration with async import module

I would like to dynamically import a third-party module and check it. Then declaration in NgModule depends on it exist or not(true/false). Something like my cod

Export default was not found

I have a Vue 2 project, and I've written a simple function for translating months in dates, which I would like to import in one of my components, but I'm gettin

How to import and play all audio files from a directory in React?

I am trying to play each audio file located inside a directory using React. I can play one file as follows but I do not want to import each file since there 70

Version v8.0.0: SetImportUse()

Is there a bug or something? $mpdf = new \Mpdf\Mpdf(); $mpdf->enableImports = true; $mpdf->debug = true; $mpdf->SetImportUse(); Call to undefined

Import Modules to Pyscript

When we are coding python code, we typically use packages and modules that we import. For example, when we are coding we may write: import numpy import requests

MariaDB Import maximum key length

We are currently moving the DB to another Server but we got a problem. Our Database is quite big and when we want to Import it to our new MariaDB Server with Ph

Terraform plan showing differences after importing resources from deleted state

The infrastructure was built into AWS with Terraform source code. The state files are gone and now i'm trying to import the existing infrastructure into Terrafo

How do I import a csv into chart.js?

I have been looking for this solution but can't seem to find it . Does chart.js support this ? I have attempted to parse in the data with papaparse, but due to

Why does calling a undefined method in import.meta throw the error (intermediate value).(...) is not a function?

I am trying to call import.meta.glob() in an Astro/Vite project inside a utility function. A Vite plugin too calls it. And when a Vite plugin runs, Vite hasn't

Jupyter Kernel Dies Importing Keras

I am running an Apple Macbook with 16 GB of RAM and the M1 chip. I am trying to import Keras through the command: from tensorflow.keras.models import Sequential

Multiprocessing, file not found

I'm using AlphaPose from GitHub and I'd like to run the script script/demo_inference.py from another script I created in AlphaPose root called run.py. In run.py

How to check if file is in folder and import it in Python

I am making a programming language in Python called Simpl-Py. I want to add the capability for users to create modules and import them into my language. Instead

When importing from keras in Jupyter, getting error 'NoneType' object has no attribute 'message_types_by_name'

I am trying to do several imports from the keras library. I am doing this on a Jupyter notebook using an Anaconda installed Python. I have used keras before fin

What does "Symbol not found / Expected in: flat namespace" actually mean?

When I import a module I built, I get this boost-python related error: Traceback (most recent call last): File "<string>", line 1, in <module> Im

How do I "use" or import a local Rust file? [duplicate]

How do I include a file with the full path my_project/src/include_me.rs in main.rs? I've checked the dependencies guide, and all of them appea

Importing multiple Excel files with multiple sheets and creating a new column based on sheet's names

I am trying to upload multiple Excels files (same format) and each of these files has multiple sheets, in nature each Excel file has information about a hotel b

Next.js Global CSS cannot be imported from files other than your Custom <App>

My React App was working fine, using global CSS also. I ran npm i next-images, added an image, edited the next.config.js, ran npm run dev, and now I'm getting

How do I import Pixi.js into a TypeScript project?

I'm new to Pixi.js but I have some past experience with TypeScript. I'm really struggling to import Pixi.js into my project. I got a small Pixi.js project runni

Blender import python module

I am running Blender 2.49 with Python27 (for testing) and am trying to import webbrowser and os. When I try webbrowser the console returns "no module named webb

how to combine many google sheets in one sheet by using query

I created two online sheets and tried to collect them in another one sheet by query but there a missing data although it's exists in the original sheets (data s