-
Notifications
You must be signed in to change notification settings - Fork 426
Open
Labels
type: bugcode to address defects in shipped codecode to address defects in shipped code
Description
Describe the bug
Hi,
I have trouble when I'm working with Netlify CLI on monorepos. It's a bit weird cuz I've tried many configurations, and sometimes it works, but I also have issues with import_map. Nevertheless, always monorpo was problematic.
Best,
Steps to reproduce
- git clone https://github.com/zdunecki/example-edge-netlify-issue
- cd example-edge-netlify-issue
- pnpm i
- cd packages/package-a/examples/example-a/
- pnpm run netlify:dev
This should serve hello
function, but does not work. I've tried without a monorepo, and it was working fine.
There's also a problem with import_map - I'm not quite sure, but cuz I've tried multiple configurations and previously monorpo was working, but import_map was not.
But as far as I debug that, problems always happen on my monorepo setu,p like monorepo + pnpm workspaces.
Configuration
No response
Environment
1. git clone https://github.com/zdunecki/example-edge-netlify-issue
2. cd example-edge-netlify-issue
3. pnpm i
4. cd packages/package-a/examples/example-a/
5. pnpm run netlify:dev
Metadata
Metadata
Assignees
Labels
type: bugcode to address defects in shipped codecode to address defects in shipped code