Most voted "yarn" questions
Yarn is a package manager for npm-compatible Javascript dependencies.
Learn more…26 questions
Sort by count of
-
15
votes2
answers5966
viewsWhat are the differences between npm and Yarn?
I’m thinking of migrating from npm to the Yarn, can anyone tell me what the main differences? Is there any considerable benefit between the two?
-
4
votes1
answer2598
viewsWhat is a. lock file?
I’m using git to convert a project and noticed when checking for modifications, that some files . json have a file with the same name, but with different extension and content. Example:…
-
2
votes0
answers47
views'Gulp' does not run through 'Git Bash'
I’m trying to run my Gulp tasks through Git Bash, but when I give the command gulp to run it brings me the following message: $ gulp bash: gulp: command not found However, I can execute using the…
-
2
votes1
answer21
viewsWhy do some npm packages have a '@' precedent in the account name and others not in the package-json deps list?
An example would be the package @brazilian-utils/brazilian-utils and luxon, I’ve suspected some of them to be private and others to be public, but Brazilian-utils kills that suspicion. What…
-
2
votes3
answers1566
viewsWhy doesn’t Node.js run sucrase - a locally installed package?
On Node.js, I installed on cmd the yarn (I can’t use the yarn and I’m using the npm), but it doesn’t work. I chose to use npm and now when trying to use the succrase library (install: npm install…
-
1
votes0
answers56
viewsproblems with Gulp
talks guys, I started doing some tests with Yarn and Gulp. It was all going well, but yesterday I downloaded a template (this template https://github.com/Merukeru/angular1-gulp-template), I did the…
-
1
votes1
answer274
viewsHow to use NPM and Yarn in ASP.Net Core?
I’m having trouble using Yarn/NPM in ASP.Net Core. I am installing packages as follows: (Example installing Jquery) Yarn: yarn add jquery NPM: npm install jquery Everything normally occurs, the…
-
1
votes1
answer29
viewsEquivalent inspectdb function on Node
Hello! In Django there is a function called inspectdb that maps every database creating models of the model.py file. Is there a function or lib equivalent javascript or Node.js?…
-
1
votes1
answer65
viewsProblem when startar React project
Guys I cloned this project on github, and I gave an npm install, it downloads the dependencies, but when I Yarn start to start the server, it prints me this error.…
-
1
votes2
answers520
views'webpack-dev-server' module not found
While trying to execute yarn webpack-dev-server --mode development the following error appears: $ C:\Users\Coding\code\frontend\node_modules\.bin\webpack-dev-server --mode development…
-
1
votes1
answer714
viewsWebpack error (Yarn webpack-dev-server-mode Development)
I’m trying to create my first Reactjs application. When running on the bash terminal of Vscode the following command: yarn webpack-dev-server --mode development The following error appears: $ yarn…
-
0
votes2
answers336
viewsInstall Startbootstrap-SB-Admin using Yarn
I am creating a skeleton base for my applications and I intend to use Symfony 4 and Startbootstrap-SB-Admin. I already have a skeleton design using Symfony 3 and SB-Admin-2 and another with Silex.…
-
0
votes1
answer1363
viewsError while trying to run nodemon
Good afternoon, I am having trouble trying to run nodemon on my terminal. It is presenting the following error message: C:\Users\juare\Desktop\Curso OmniStack\aulas\backend> yarn dev yarn run…
-
0
votes1
answer119
viewsIs it possible to swap already installed packages from "dependencies" to "devDependencies" just by switching lines?
Here’s an example of the file package.json, installed using the command npm install <nome> --save-dev: { "dependencies": {}, "devDependencies": { "bootstrap": "^4.1.3", "cross-env": "^5.2.0",…
-
0
votes0
answers343
viewsProblem installing "@material-ui/core" package in my "create-React-app" application
I’m getting an error when I try to install the package @material-ui/core 3.9.0 in my application. When I execute yarn add @material-ui/core get the following return yarn add v1.12.3 [1/4] Resolving…
-
0
votes0
answers338
viewscreate-React-app returning error 'Cannot find module 'React-scripts/scripts/init.js' '
When I try to create the React project with both npm and Yarn (create-React-app test), it returns the following error: internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module…
-
0
votes1
answer47
viewsI cannot add the React-navigation library to my React-Native project!
I’m trying to use Yarn add React-navigation in my project, but I can’t add the library keeps popping up this error. I have already deleted package.lock.js, however error still appears. info…
-
0
votes1
answer186
viewsMonorepo with Yarn for React Native projects, Bundle error
I want to create a monorepo with Yarn to work with React-Native, this is necessary because I want to keep backend frontend and app in the same repository. My problem occurs when loading the app to…
-
-1
votes1
answer203
viewsError Yarn / ENOENT: no such file or directory
In the windows environment, when using Yarn to install dependency on a React project, error arises: ENOENT: no such file or directory, open... To resolve, delete node_modules and Yarn.lock, then run…
-
-1
votes1
answer856
viewsYarn returning error while trying to add "Cors"
This is Devs :D I’m having a mistake that’s bothering me a little... When trying to add the "Cors" package by Yarn, the terminal returns me the following error: $ yarn add cors yarn add v1.16.0…
-
-1
votes1
answer310
viewsYarn Doesn’t Start Development Server
Hi, I’m developing a site with React, but when using give command yarn start, he doesn’t incite my server.…
-
-1
votes1
answer1596
viewsError creating execution script for ts-Node-dev library
I am building the back-end of an application using Node.js and Typescript, I decided to create a script in package.json to facilitate the execution of the system I inserted the following script:…
-
-1
votes2
answers2609
viewsError running npm start (React)
I was developing a React project for web, everything normal, and without explanation the next day I could no longer run the application with npm start or yarn start. Follow my package.json and the…
-
-1
votes1
answer154
viewsLaravel-mix error in syntax when there is none
Good evening guys, I’m trying to run NPM RUN DEV and when I do he accuses a mistake that doesn’t make sense to me (despite being a total beginner in Latin). [webpack-cli]…
-
-2
votes0
answers8
viewsQ: Docker does not find the application directory
Before describing the problem I would like to inform you that I am new in the field of programming and am learning how to use Docker now, so I ask for everyone’s understanding. I’m spinning a…
-
-3
votes1
answer2785
viewsError executing Yarn start/ npm start command
As soon as I run the create-React-app command and create the project. at the end when I run the "Yarn start" command. follows the following error: yarn run v1.22.4 warning package.json: No license…