Giter Club home page Giter Club logo

Comments (3)

belgattitude avatar belgattitude commented on May 12, 2024 1

@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.

belgattitude avatar belgattitude commented on May 12, 2024

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.

marie-maxime avatar marie-maxime commented on May 12, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.