npm Questions

1

I am building an NPM module to import into my projects. For testing, I am using npm link to link to the module I am developing. I am trying to export an ENUM. enums.ts export const enum PlayActi...
Marriageable asked 25/3, 2020 at 17:51

6

Solved

I am encountering an error when attempting to deploy a Firebase function. Despite deleting node_modules and package-lock.json, running npm install, and executing firebase deploy --only functions ma...
Pediatrics asked 9/4, 2023 at 10:10

8

Solved

I have just installed Node and Yarn using the following commands: brew install node brew install yarn --without-node node -v v11.8.0 -a node node is /usr/local/bin/node yarn -v 1.13.0 type -...
Glean asked 27/1, 2019 at 16:48

6

There are a lot of errors in my application console. How to fix it? Next js 13.2 / app directory Import trace for requested module: ./node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-avai...
Scissure asked 27/2, 2023 at 4:51

11

I'm having trouble to create npx create-react-app . ➤ YN0009: │ core-js@npm:2.6.11 couldn't be built successfully (exit code 1, logs can be found here: /C:/Users/acer/AppData/Local/Temp/logfile-100...
Let asked 13/10, 2020 at 7:54

2

Whilst installing packages with Yarn I get the following warning warning Unmet peer dependency "webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc" Even though I have webpack installed globally. How do ...
Spadix asked 1/3, 2017 at 20:52

2

"scripts": { "test": "echo \"Error: no test specified\" && exit 1", "server": "nodemon backend/server.js", "client":...
Crackling asked 29/1, 2021 at 18:28

2

I've updated the Angular application to version 18 (18.0.1). I'm facing some issues regarding the http requests on localhost. For most of the requests I'm getting a 404. I'm behind a corporate prox...
Ferocious asked 5/7 at 6:58

2

Solved

I'm using pnpm for package management in my project and VS code editor. However, every time I save changes to package.json, a package-lock.json file gets automatically generated, even though I'm no...

3

Solved

There are multiple question regarding this on SO but none was able to solve my problem. There is a project called NVM for Windows https://github.com/coreybutler/nvm-windows which solves this issue ...
Winna asked 21/5 at 8:21

4

I was working with discord.js last night and I ran a few commands in the terminal. The last command I wrote caused the name of the file at the top of the screen to be crossed out and turn red and I...
Palocz asked 23/1, 2022 at 10:5

3

Inside a next.js project I try to type npm run dev in the terminal, but nothing happpens. Except this: sh: pnpm: command not found. I think I am in the correct folder, and I also have run npm insta...
Hardpressed asked 27/11, 2023 at 9:27

5

Solved

I'm stumbling on an error every time I run npm run build error: /node_modules/mini-css-extract-plugin/node_modules/schema-utils/dist/validate.js:66 const ajv = new Ajv({ ^ TypeError: Ajv is not a...
Pannier asked 14/2, 2022 at 11:45

4

Solved

I'm trying to build an Angular 15 project in Docker, but the build always hangs at the RUN npm run build step and never completes. This a fresh install ng new ng-sandbox-15 with the Dockerfile, .do...
Hardden asked 11/4, 2023 at 0:21

1

MediaPipe project's source code is hosted at https://github.com/google/mediapipe We can use MediaPipe using JavaScript also in Browser given at MediaPipe in JavaScript While using MediaPipe with Ja...
Revenue asked 28/8, 2021 at 10:18

3

I've installed Node.js for Windows and I'm trying to create a new React project via npm. Upon typing 'npx create-react-app projectName', I receive the following error: ENOENT: no such file or direc...
Feline asked 7/7, 2023 at 9:28

1

I am building a little local dev/testing/documentation environment for some components which are used across different projects and so want to create them as individual npm packages. Everything was...
Lithea asked 20/5, 2022 at 23:17

2

I'm trying to build a repository/package for my personal ESLint config files. I have all of my configuration files built the way I would like, and now I am trying to install this package to test it...
npm
Nigrosine asked 24/6, 2022 at 20:55

1

I am working to migrate a Laravel web application to DigitalOcean's new App platform. We have been running this application on several machines over the past few months with no npm issues. However,...
Bibber asked 2/1, 2021 at 2:3

5

Solved

I have some different projects in my local machine. Some of then uses AWS Codeartifact to download private dependencies in AWS Codeartifact, and others do not use. The projects that uses AWS Codear...
Berwickupontweed asked 6/2, 2021 at 14:59

6

I have recently moved to a Windows + WSL environment (WSL is going very good by the way). The main reason of doing this is to have a Linux environment for development and having Windows for other a...
Battlefield asked 4/1, 2019 at 7:2

4

Solved

NextJS 13 project with package that has an inner core dependency (react-leaflet->@react-leaflet/core). yarn run build Build fails on "Linting and checking validity of types" Seems like...
Corinecorinna asked 26/12, 2022 at 8:26

6

Solved

I recently updated my Node Package Manager in accordance with this post. However, now when I create a new Next.js app and run it using npm run dev, I get the following error: error - ./node_modules...
Onshore asked 27/7, 2022 at 18:31

6

Solved

I'm trying to create a slider in my react native Android App, and relatively new to React Native. The React Native documentation says their Slider component is deprecated (https://reactnative.dev/d...
Sheik asked 28/7, 2020 at 7:14

3

Solved

When I try to create a react native project version 0.59.9 I get the following error error Error: Couldn't find the "/var/folders/zc/h93bvpb573q24_5ynvgkn1wc0000gn/T/rncli-init-template-0YT6F...
Rogerrogerio asked 28/7, 2020 at 9:18

© 2022 - 2024 — McMap. All rights reserved.