Comments (3)
@marie-maxime I've swapped two issues in my mind, and actually haven't replied to yours π
Happens sometimes. Of course you're totally right, it does not work.
So here's a fix: #3264 with an explanation.
This repo is just a collection of tools together, but if you're wanting to build a design-system for real, I recommend to build with rollup (v3).... tsup is nice to start. microbundle too but does not play super well with aliases
from nextjs-monorepo-example.
Hi @marie-maxime, thanks for reporting.
I wasn't able to reproduce it yet, but it might related to a specific os/node version ?
Could you run
npx envinfo --binaries --monorepos --system
And paste the output ?
On my side I have this:
System:
OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Memory: 8.20 GB / 15.29 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
Yarn: 4.0.0-rc.37 - ~/.nvm/versions/node/v16.17.0/bin/yarn
npm: 8.19.3 - ~/.nvm/versions/node/v16.17.0/bin/npm
Monorepos:
Yarn Workspaces: 4.0.0-rc.37
PS: I've updated typescript 4.9.5 part of #3259 (might be related ?)
If you want you can always check the installed dep versions with yarn deps:check
(and α»³arn deps:update && yarn install && yarn dedupe
to apply on your side) .
from nextjs-monorepo-example.
@belgattitude
Hmm, that's weird, I just tried spinning a new instance in Github codespace and still having the issue when I add the export statement for BasicCard.
Upgrading packages doesn't seems to fix the issue either.
My laptop:
System:
OS: macOS 13.1
CPU: (10) arm64 Apple M1 Pro
Memory: 116.06 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node
Yarn: 4.0.0-rc.37 - /usr/local/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.1/bin/npm
Codespace:
System:
OS: Linux 5.4 Ubuntu 20.04.5 LTS (Focal Fossa)
CPU: (2) x64 Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
Memory: 1.76 GB / 3.84 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 19.5.0 - ~/nvm/current/bin/node
Yarn: 4.0.0-rc.37 - /usr/bin/yarn
npm: 9.3.1 - ~/nvm/current/bin/npm
Monorepos:
Yarn Workspaces: 4.0.0-rc.37
from nextjs-monorepo-example.
Related Issues (20)
- Automated releases HOT 1
- Early cache invalidation in multistage Docker build HOT 4
- Problem with prisma in monorepo
- How debug server side for next.js `nextjs-app` using vscode? HOT 3
- Adding commitzen command HOT 2
- Action Required: Fix Renovate Configuration
- Does it support NodeNext .mjs, .mts ? HOT 8
- RFC: Move to pnpm HOT 1
- Example with standalone build HOT 3
- changeset publish does not replace workspace: ranges with current version in workspace HOT 4
- Best practice for add a backend server HOT 1
- nextjs-app compilation error and warning HOT 2
- Error: No mesh config file found HOT 1
- Make repo size lower
- add prettier for formatting and remove prettier for linting HOT 3
- Debug Nexjs app in monorepo with "NODE_OPTIONS='inspect'" HOT 10
- Deprecated package @types/prettier HOT 1
- storybook recognizing tailwind config from outside HOT 3
- Upgrade eslint to V9 and typescript-eslint v7 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextjs-monorepo-example.