All Questions
Tagged with yarnpkg node-modules
121
questions
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
0
answers
170
views
yarn get error:Error: ENOENT: no such file or directory
I install node_modules for my project.
yarn
[1/5] 🔍 Validating package.json...
warning knight-operation: "dependencies" has dependency "@testing-library/jest-dom" with range &...
0
votes
0
answers
30
views
Yarn on package.json suddenly creates bugs
I am working in React with react-admin and supabase-js.
I suddenly have a problem when I add, remove, or basically do anything on my package.json file : it doesn't display my React-Admin correctly.
...
0
votes
1
answer
70
views
"Module not found" error in react app, despite having already installed the module
I'm adding VR functionality to an existing React app, and so I installed a library called '@coconut-xr/natuerlich'. I have tried this library before in a fresh project and used it just fine, following ...
2
votes
0
answers
765
views
Yarn v3 workspaces with nodeLinker: node-modules doesn't create node_modules/ and can't start packages
Even though I have nodeLinker: node-modules in my yarnrc.yml, it still doesn't create the node_modules folder. It still creates the .pnp.cjs and .pnp.loader.mjs files and the .yarn folder. According ...
0
votes
0
answers
13
views
How can I make webpack search upwards for modules like vanilla Node require?
An excerpt from our webpack config file is below. It seems that webpack is searching for modules only from the directories listed in the 'modules' parameter (ie node_modules and ../../node_modules). ...
0
votes
2
answers
282
views
Why is module version different from what I wrote in package.json?
I made project with create-next-app.
And I downgrade next version to 12.
After then, I installed some modules that I need with yarn.
I set some module's version such as typescript, react, and so on.
...
2
votes
0
answers
267
views
I installed the Visual Studio 2022 too but still it is not allowing me to yarn install
Is there anyone who can help me with this issue? I cloned the project and I'm trying to install the dependencies to run it. I also installed Visual Studio 2022, while I have Visual Studio Code. It ...
0
votes
0
answers
180
views
`yarn link` not updating browser source code
I have a react app where I am using storybook as a npm package. For the app, I had to modify the package locally, and now I want to use this updated package in my react application.
I used yarn link ...
3
votes
0
answers
1k
views
Undefined variable standalone_static_library in binding.gyp while trying to load binding.gyp
MacOS Monterey v12.6
Node Version v20.2.0
Installed Version:
pyenv --version
pyenv 2.3.18
python2 --version
Python 2.7.18
python3 --version
Python 3.9.6
python --version
Python 3.9.6
~/....
0
votes
1
answer
232
views
I am getting error when adding npm package
Error:
An unexpected error occurred: "https://npm.paydevs.com/@react-native-async-storage%2fasync-storage: User undefined is not allowed to access the package @react-native-async-storage/async-...
0
votes
1
answer
331
views
[NextJS]`yarn dev` command throwing error: Assertion `args[0]->IsInt32()' failed
While running yarn dev for NextJS local development, I am getting this error output:
/opt/homebrew/Cellar/node/19.9.0/bin/node[8717]: ../src/tcp_wrap.cc:155:static void node::TCPWrap::New(const ...
2
votes
0
answers
930
views
Why are yarn and npm using the Incorrect Node version for package installation and running my react app despite NVM having only the correct version?
Some context, I am building a react application based on a UI kit I purchased which works fine sometimes and other times demonstrates this weird behavior. As explained above, upon running npm install ...
1
vote
0
answers
626
views
How does Yarn install decide whether to throw YN0070 and use node_modules vs PnP?
I have 2 different branches in my project. When I do yarn install in one of them, it starts off with:
➤ YN0070: Migrating from Yarn 1; automatically enabling the compatibility node-modules linker 👍
....
0
votes
1
answer
404
views
I had an issue when calling 'yarn start' inside my project. What can I do to fix this?
I was following this tutorial, to get my codepen project up and running on GitHub Pages. It required Node, yarn and npm to be installed on my machine. So I checked the different versions installed on ...