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 -...
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...
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...
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 ...
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
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...
Papiamento asked 7/9 at 7:44
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...
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...
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...
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 buil fails on Linting and checking validity of types when node_module package has type import
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
1 Next >
© 2022 - 2024 — McMap. All rights reserved.