Category "npm"

You'll need to upgrade to a newer Node.js version in order to use this version of npm. But Node version is greater than v10

Here is my command line I already have node version higher than the specified 10.24.1 but still gives me this error. Not really sure what is the issue here. I a

Installing create-react-app gives npm ERR! shasum check failed and npm ERR! Unexpected end of JSON input while parsing near '...mojOzGIEI2rg0m24Yb5Oq'

Errors when i use sudo npm install create-react-app -g npm ERR! Linux 4.13.0-39-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "create-react-app" "-g"

'expo start' or 'npm start' command stuck at ''Starting metro bundler"

I am using react native expo for building mobile app. I followed below steps:- expo init myapp cd myapp expo start After running above 3 commands everything was

NPM attempts to publish twice

I am maintaining my first npm package so this might be an error on my part. Once build my package and commit it to git the next step is: $ npm version patch $ n

Best practice to publish src folder that contains esm modules

Consider this package.json: { "main": "./index.js", "name": "@myorg/foo", "scripts": { "build": "babel src -d dist --delete-dir-on-start --source-maps

Place image over an other image using Jimp

I'm trying to edit my images on my node.js application working on the server-side. At this moment, I've successfully added text over my image. I would like to p

Trying to import realm, but getting error: Missing Realm constructor. Did you run "pod install"? (I'm using windows)

I'm making a mobile application with react native. I want to use Realm (mongodb). So after running: npm install realm realm was correctly added in the "node_mo

yarn command not found after installing via npm

As per the yarn installation for yarn v2, they want you to install using npm install -g yarn. So I ran sudo npm install -g yarn on Ubuntu 20.04. But after I d

Need help on a react.js error that I keep on getting

Every time I try running npm start on a new project I keep on getting this error. Does anyone know or have any idea how to fix this?? There might be a problem

How can I avoid "No test specified" errors in npm?

I'm using [email protected] on Mac High Sierra. I want to run tests that were setup in this Stratum client project. I have run npm install successfully. But when I try

'cross-env' is not recognized as an internal or external command,

Guys can you please help me on this I have trouble run npm run dev for my Laravel Mix. I followed links below but still error exist. Do i have a problem on my O

wasm code commit Allocation failed - process out of memory

I have a nodejs script which was working fine on nodejs 12. I got a new macbook air on which I installed nodejs LTS 14. The scripts was not working as intended

How to install Next.js Tailwind explicitly with .js?

I created a Next.js project and I only have .tsx (TypeScript) as the extension everywhere. I know TypeScript is just extended like Java but I just want .js as t

React app stuck on "Starting the development server"

I have a react app created by create-react-app. After running npm start (the start script is present in package.json as "start": "react-scripts start") the cons

How to set env var for .npmrc use

I need a module in my project to download a private npm package. To accomplish this, I am using a .npmrc file to supply a read-only token needed to download the

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