-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Yarn monorepo causes broken resolved paths in Windows #8031
Copy link
Copy link
Open
Description
Bug description
When using rollup to build a project, babel polyfills typeof for the AsyncIterator. This fails on Windows in a monorepo because of broken paths.
Command
yarn workspace core buildI already created an issue in the rollup package, but was refered here: rollup/plugins#290
What is the current behavior?
The resolved path is missing backslashes:
C:UsersjohanneszProjectsMyproject
untime/helpers/typeof (imported by ..\..\..\node_modules\regenerator-runtime\runtime.js, C:UsersjohanneszProjectsMyproject
untime/helpers/typeof?commonjs-external
What is the expected behavior?
The correct resolved path.
Steps to Reproduce
git clone https://github.com/johannes-z/rollup-yarn-path-erroryarnyarn workspace core build
Environment
- Node Version:
11.13.0 - Yarn v1 Version:
1.22.0 - OS and version: Windows 10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels