Category "npm"

Why Laravel Mix deletes CSS @import url()

I'm using Laravel Mix, and when I run npm run dev, everything is good, but when I run npm run prod, in minified style.css, all @import url()s get deleted! Webpa

Node Error: resolve-url-loader: CSS error

I am trying to run a react project as dev server on my surface, and if gives me the error shown below and in the title. When I am running the same config on my

Why npm doesn't see quasar?

I installed quasar with a command: npm install -g @quasar/cli Then I tried to create an app folder already with quasar: quasar create callapp The console is

Why npm doesn't see quasar?

I installed quasar with a command: npm install -g @quasar/cli Then I tried to create an app folder already with quasar: quasar create callapp The console is

npm permission issue in laravel docker setup

If I try and run the following in my docker setup docker-compose run --rm npm run dev I get the following error > dev > npm run development glob err

How to solve this error: "internal/modules/cjs/loader.js:638 throw err; ^"

I want to run my Vue.js using npm on localhost:8080 but they give me this error. Is there a way to solve this issue? This error only occurs when I tried to inst

Uninstalling the currently active version of node.js with nvm

On Ubuntu 16.04, I mistakenly used root to install nvm, and then to install node.js 8.8.1 via nvm. I also used nvm alias default 8.8.1, thinking it would correc

Node MODULE_NOT_FOUND

I just upgraded to node version 9.0.0 and am now getting this error in the command line when trying to use npm install npm ERR! code MODULE_NOT_FOUND npm ERR!

Node MODULE_NOT_FOUND

I just upgraded to node version 9.0.0 and am now getting this error in the command line when trying to use npm install npm ERR! code MODULE_NOT_FOUND npm ERR!

React / React-DOM package dependency conflict

I've been running into this error message every time I try to run npm update: : npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm E

Can't global uninstall npm package (eslint) OS X

I have eslint installed and I wanted to update it to a newer version. Upon trying to do this, I found out that I can't get rid of my current version of eslint.

Faker shows the same picture all the time, how to avoid it?

I am using faker in order to make array of random objects, like this: { "image": faker.random.arrayElement([ faker.image.nature(), faker.image.city

Vue.js 3: Cannot import Vue global object

I'm going crazy trying to reconcile the Vue 3 CLI output into something that works with various tutorials and plugins that all use the Vue object, as in Vue.cre

My Javascript file won't run because of bigint error

I am trying to use @metaplex/js to do some NFT minting. Usually my .js files work properly but when I run the file this error comes up. bigint: Failed to load b

Patching a NPM package locally with patch-package, not working

I'm working on a vue.js frontend, and I need to patch a package to fit the special needs of the app. The package I'm trying to patch is 'vue-youtube' (not that

NPM configuration to skip vulnerabilities audit for devDependencies on install

Is it possible to configure npm to skip audit of vulnerabilities for devDependencies when running command npm install?

Vercel Failed to compile. React

first, I was getting the same error for react-icons. now I am getting errors for the typewriter. it works fine on localhost. when I'm trying to npm i typewriter

npm install Error: rollbackFailedOptional

When I try npm install new packages it shows me this error: rollbackFailedOptional: verb npm-session 585aaecfe5f9a82 node --version 8.4.0 npm --version 5

EROFS: read-only file system, mkdir '/logs/'

When I try running local server from npm run start, it shows this error. I'm using Mac and NestJS.

Jenkins unable to find npm

On this linux server, I have a user named "myuser". For this user, when echoing the path, I get this: /home/myuser/bin:/home/myuser/.local/bin:/home/myuser/.nv