I have 2 files, one named one.js and other name first.js.one.js var first = require("./first.js") require.cache[first.module.id].loaded=false require("./first.j
Question: When I run npm run build with the configuration below, rollup.js is unable to resolve the dependency (import) and displays the following message below
I've got a project that needs to use a third-party custom library that was given for the project. How does one correctly use/integrate it? Do you have to import
I am creating a minecraft bot using mineflayer library. After a bit of work I decided to make code readable and reusable (image of file organisation) and also s
I want to know, why this problem happens sometime. I overcome it by opening the desired folder with code directly. But can't use git bash. And saving package.js
I have been trying for sometime already to just run "npm start" for an old app developed with EmberJs but I get several errors. I had tried the following: Unins
When checking out of the latest master, I receive the following error when I try to build Webpack. The only noticeable change was a single gem that was installe
I have an external node package installed in my project. It does 90% of what I want but I'd like to make some changes to it. I don't want to submit a PR to de
I'm getting this error in my log when I try to deploy on vercel Found next.config.js: /** * @type {import('next').NextConfig} */ const nextConfig = { reactS
I've been working on upgrading a repository from Webpack version 4 to 5, and I've encountered a very strange problem where Webpack will throw an error at runtim
As I experiment with WordPress's new Gutenberg development methods, I noticed that I need to create individual block folders within the plugins directory. These
After following a tutorial on Node.js I tried to get the details of a request like so: const url = require('url'); http .createServer((req, res) => {
I'm trying to use Vue in "progressive enhancement" mode in an existing site, which already uses Typescript extensively. The vue tutorial shows code like this: &
hello everyone! I'm trying to import fs module in nodejs first I was using require to import it like this const fs = require('fs'); It was working fine for a w
I installed a package that is related to my learning courses. the codes are released on 2018 and I updated all the versions on package-lock.json and package.jso
I am new to writing test cases in jest and i wanted to test 'mark' function and want to mock 'request' node module. let's say this file's name is app.js and tes
First I am the only one working on this project so we can completely nuke everything but the code of course. I have tried things like this with no effect npm un
I'm giving a try with [react-native-crypto][1] in order to learn how to convert nodejs to be used in React Native project in the future. Unfortunately, I couldn
I'm working on a React component library and I'm trying to figure out what would be the best way to make it configurable. I'd want to achieve something similar
skipped test When pressing debug on the test it just skips it. It works for other tests in different repositories that I have, but for this specific one it does