All Questions
761
questions
0
votes
0
answers
12
views
Yarn Build Error: TS2305: Module '"web-vitals"' has no exported member 'ReportHandler'
I'm using Yarn as part of an intro to React Testing course through Udemy.
I am getting this error when executing yarn build:
$ yarn build
yarn run v1.22.22
$ react-scripts build
Creating an optimized ...
-2
votes
0
answers
17
views
Can`t install nodemodules for Mac High Sierra 10.13.6 [closed]
I have spent the whole day trying to solve this problem but I couldn't and I would be very grateful if someone could help me.
I use a macbook pro 2011 on high sierra, which is no longer supported, I ...
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 ...
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
0
answers
36
views
On Amplify Push getting "Packaging lambda function failed"
I tried amplify push and got the error:
Packaging lambda function failed with the error
Command failed with exit code 1: yarn workspaces focus --production
Unknown Syntax Error: Command not found; ...
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:...
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 ...
1
vote
0
answers
298
views
Getting deasync error when trying to install yarn dependencies
error C:\FOLDER\FOLDER\automatarium\node_modules\deasync: Command failed.
Exit code: 1
Command: node ./build.js
Arguments:
Directory: C:\FOLDER\FOLDER\automatarium\node_modules\deasync
Output:
node:...
0
votes
0
answers
38
views
yarn dev hangs on "Linking dependencies"
I have just started working on a reactjs application, and found that I cannot run the app using yarn on localhost at all, as it hangs after reaching "Linking dependencies". I am running this ...
0
votes
0
answers
109
views
Visual Studio Code crash issue "kill-9". Linux Mint
I'm working on a React project built with the Yarn package manager.VsCode crashes periodically with the following error : "The build failed because the process exited too early. This probably ...
0
votes
0
answers
44
views
React Build Fails with "Reached Heap Limit" Error in Dockerized Environment*
I'm encountering a "FATAL ERROR: Reached heap limit Allocation failed" error during the build process of my ReactJS project within a Dockerized environment.
Environment:
ReactJS application
...
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
1
answer
236
views
Error when running 'yarn install' command in React project: 'The term 'yarn' is not recognized
I'm facing an issue while trying to run the 'yarn install' command in my React project. I've globally installed Yarn (npm install --global yarn), but when I attempt to execute any Yarn command in the ...
0
votes
1
answer
36
views
Yarn start or npm start or npm run start don't initialize the application
I started a new react project and started developing, for a period of time everything was fine and running normally. One day after restarting my Windows 10, when I went back to the project and ran the ...
0
votes
1
answer
28
views
Page doesn't recoginze the export on a React Module when there's actually an export
right now I'm practicing with the Three.js library, but I've been having some trouble with the exports...
Here is the App.jsx:
import styled from "styled-components"
import React from "...