Skip to content

Run examples/react-ts-vite will throw error #63

@hawtim

Description

@hawtim

Describe the bug

Hi, I tried to run the example on my machine, and encountered the problem.

image

I found that the reactivue package inside node_modules does not have a dist folder; thus, the entry resolver got an error.

image

After I cd node_modules/reactivue && npm run build, after generate the dist folder, the error resolved.

Reproduction

git clone [email protected]:hawtim/reactivue.git && cd reactivue && yarn && cd examples/react-ts-vite && npm run dev

System Info

System:
    OS: macOS 12.5
    CPU: -
    Memory: 215.93 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.17.1 - ~/.nvm/versions/node/v14.17.1/bin/node
    Yarn: 1.22.18 - /usr/local/bin/yarn
    npm: 6.14.13 - ~/.nvm/versions/node/v14.17.1/bin/npm
  Browsers:
    Chrome: 109.0.5414.87
    Edge: 103.0.1264.77
    Firefox: 102.0.1
    Safari: 15.6

Used Package Manager

yarn

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions