yarn-workspaces Questions
2
The problem occurs for Vite monorepo, @ aliases are respected by TypeScript because of separate tsconfig files (can be visible in IDE) but aren't distinguished among the workspaces by Vite on build...
Shiller asked 9/2, 2023 at 19:49
1
If I run eslint . from my project-root, it prints all errors and warnings to the console, as I would expect it to.
However, when I cd into a subdirectory of the project, eslint . yields the followi...
Countermark asked 25/8, 2022 at 9:49
3
I have a monorepo that is managed by lerna which relies on the Yarn workspaces feature. It looks like this:
/repo
|-- packages
| |-- pkg-a
| | |-- package.json
| |-- pkg-b
| | |-- package.json...
Winwaloe asked 25/9, 2020 at 8:5
6
Solved
I'm working on converting a large(ish) monorepo into TypeScript for a client, however, I'm pretty new to TS myself and have run into an error that I can't find an obvious fix for.
TS6059: File '[p...
Silvas asked 30/3, 2020 at 11:14
5
Yarn successfully installed on my laptop. But every time I try to run yarn command in VS code, its say, 'yarn' is not recognized as an internal or external command, operable program or batch file.
...
Plantain asked 21/12, 2020 at 15:12
5
I'm working with the berry version of yarn with modules federation and vue3.
When I run these commands to create the base of the project:
mkdir vue-error
yarn set version stable
yarn plugin import ...
Vigor asked 16/12, 2021 at 22:48
3
I am in a bit of a weird situation. For the past 2 weeks I've been trying to debug as to why I am losing types between my projects inside a monorepo. My backend exposes the types that my client use...
Northwest asked 24/10, 2022 at 18:14
6
I recently moved to monorepo using yarn workspace with an existing react native project. Now, I have one react native project called "timeylo" under "packages/", whose react-native dependencies are...
Yasukoyataghan asked 16/2, 2020 at 8:32
3
I'm trying to setup a monorepo project using typescript and yarn workspaces.
The project's structure looks like this:
/example
/packages
/lib1
Example is an app that used the packages, for develo...
Regime asked 1/4, 2022 at 9:29
5
Solved
Inside my Monorepo I have one packages in which I want all the dependencies inside its node_modules.
But whatever I do, it's node_modules remains empty.
So, for the purpose of my question I was ...
Ortensia asked 19/6, 2019 at 21:9
1
I'm using a Yarn workspace monorepo structure in a TypeScript React project:
packages
admin
package.json
user
package.json
package.json // Workspace Root. Sets "workspaces": ["pa...
Metzgar asked 9/2, 2022 at 6:46
4
Solved
I have a yarn workspace set up with folders public and server. I am using TypeScript in VS Code. On any module that doesn't have types pre-installed with the package, I get the error in VS Code:
...
Balderas asked 20/3, 2020 at 16:29
3
Solved
I installed node v16.13.0, npm v8.1.0 java version 1.8.0_211 and I thought I also have installed yarn, but trying to install expo using yarn global add expo-cli I get:
yarn : File C:\Program Files\...
Jeremiah asked 24/11, 2021 at 1:39
3
I'm trying to create a monorepo containing a NestJs API, a React app, and many other smaller projects shared between them
The monorepo is set up with yarn workspaces
The React app using Vite import...
Diacritic asked 6/1, 2023 at 18:6
4
As per Firebase Functions with Yarn workspaces, I'd like to deploy a monorepo to Firebase using Yarn Workspaces. I can successfully deploy the "web" aspect to Firebase Hosting, which references a s...
Cyanohydrin asked 3/4, 2020 at 16:0
4
We're starting to adopt a monorepo setup using yarn workspaces and we'd like to have our firebase functions inside it. The repo structure is something like:
repo
node_modules <- all dependenci...
Culver asked 21/4, 2019 at 15:16
2
I'm using Yarn Workspaces in my repository and also using AWS CodeBuild to build my packages. When build starts, CodeBuild takes 60 seconds to install all packages and I'd want to avoid this time c...
Sopor asked 28/4, 2019 at 12:31
3
I'm wondering: if your terminal's current working directory is inside a yarn workspace, is there a way to run a yarn script that's defined at the project root without changing the current directory...
Unger asked 17/3, 2021 at 9:13
2
I have a Monorepo under Lerna and Yarn Workspaces. The repo has packages which are published to npm and consumed outside the monorepo as well as within the monorepo. While developing in the monorep...
Emmyemmye asked 6/3, 2019 at 1:5
1
Solved
At my workplace we were trying to get Vite working with Yarn Workspaces (in yarn v2).
We wanted to create a test environment where we consumed one of the packages we were publishing from the same r...
Pd asked 14/2, 2023 at 17:48
0
I know this error is all over the place however I tried adding a tsconfig.json file to the parserServices.project already and that did not work.
Basically I have a yarn workspace project and my sub...
Ballflower asked 13/2, 2023 at 19:19
3
Using Yarn Workspaces it's very easy to install the packages for a single Workspace using yarn install --focus when inside one of the package directories.
However, sometimes I would like the abilit...
Bibliomancy asked 2/12, 2021 at 1:0
1
I have a project with 3 directories client, api, and shared. The shared directory contains typescript types and definitions inside an engine folder that I would like to share with client and api. A...
Hereof asked 13/4, 2021 at 7:12
3
Whenever I add a dependency to the root of the workspaces project:
e.g.
yarn add assets-webpack-plugin -D
I get the following error:
Running this command will add the dependency to the worksp...
Petry asked 8/7, 2018 at 19:16
1
I'm following yarn installation doc. When I run corepack prepare yarn@stable --activate, I'm getting Usage Error: Invalid package manager specification in CLI arguments; expected a semver version. ...
Tenth asked 10/9, 2022 at 16:54
1 Next >
© 2022 - 2025 — McMap. All rights reserved.