All Questions
1,425
questions
2
votes
0
answers
32
views
npx hanging during initialization of react, expo, and next app
I am currently experiencing an issue where the following commands (and potentially more) hang indefinitely when trying to initialize a project:
npx create-react-app
npx create-expo-app
npx create-...
-1
votes
0
answers
18
views
Npm vs Yarn on Expo [closed]
On Expo, I heard that PlugnPlay is not supported by Yarn. So there is no reason to use Yarn Berry and hench I don't see any benefits of using Yarn V1 over using npm. Also, I have faced multiple ...
0
votes
0
answers
40
views
Appropriate loader to handle this file type .mjs | webpack
I recently added @radix-ui/react-navigation-menu to my project. However, upon attempting to rebuild, I encountered the following error message: the error..
Interestingly, other components from the ...
0
votes
1
answer
65
views
Facing issue while upgrading yarn 1.22.x to 3.8.3 in azure build pipeline
I need to upgrade yarn 1.22.x to 3.8.3 in azure build pipeline. I have modified the pipeline yml file:
- task: NodeTool@0
inputs:
versionSpec: '16.x'
checkLatest: true ...
0
votes
1
answer
22
views
How to develop with an external npm package into a Yarn PnP monorepo?
I do have to work with a large Yarn PnP mono repo (~30 packages and 3 micro apps).
One of the packages (package-b) is using an external npm package package-a (which is using npm as a package manager) ...
1
vote
2
answers
45
views
Install a TypeScript package from GitHub repository subfolder
I'm using react-select on my ReactJS module, and I needed to make some changes to fit my needs.
But now, I'm trying to install my own fork using NPM, and it doesn't work.
Error message:
Module not ...
0
votes
1
answer
30
views
yarn add --dev @chainlink/contracts showing error :Permission denied Publickey
**While running yarn add --dev @chainlink/contracts it shows error : Permissions denied: Public Key
Error:
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://[email protected]/ricmoo/...
2
votes
0
answers
43
views
In my three.js and react project getting error 'TypeError: fetch failed'
I got this error. how can i resolve this?
Parse
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:...
0
votes
1
answer
49
views
NPM is choosing incorrect Node.js version for FE solution (on specific pc)
Locally I'm using nvm to manage Node.JS version; current node version is 18.19.0; I don't have ver. 12 installed. Before installing nvm - I have removed Node from computer, now I can't see it in "...
2
votes
1
answer
2k
views
Error when running npm script with Yarn: "ERR spawn EINVAL
I'm encountering an error when trying to run an npm script that involves Yarn. Here's the sequence of events:
I've initialized a project with create-react-app.
Added the following script to my ...
0
votes
0
answers
33
views
What is the idiomatic way to redirect npm package.json bin path to the bin path of a dependency?
I am authoring an npm package that distributes native binaries. Native binaries are compiled and therefore they are platform specific.
To reduce the download burden on consumers, I have split the ...
0
votes
1
answer
38
views
unable to install npm package from github
I use a workspace into my app
"workspaces": [
"firstapp/web",
"secondapp"
]
Into second app, into package.json I get into dependencies:
"anotherapp&...
0
votes
0
answers
23
views
Why npm install give different result folder than yarn install
So I am trying to install specific version of lib-jitsi-meet package with the following commands:
npm install "https://github.com/jitsi/lib-jitsi-meet.git#b0356800"
yarn add "https://...
0
votes
0
answers
205
views
How to parallel run multiple npm scripts in rollup watch mode using yarn workspaces foreach?
I have a React multimodule project.
Every module is built with rollup and has its commands defined as
"build": "rollup -c",
"watch": "rollup -cw"
From the main ...
0
votes
1
answer
116
views
Try to setup Backstage.io in AWS linux EC2 Instance Error Shown after run the command npx @backstage/create-app@latest
Error showing while run this command @backstage/create-app@latest
JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0xb95be0 node::Abort() [...