Jonghakseo / chrome-extension-boilerplate-react-vite

Chrome Extension Boilerplate with React + Vite + Typescript
MIT License
2.26k stars 329 forks source link

The project won't get up and running #692

Closed Alex20180512 closed 3 weeks ago

Alex20180512 commented 3 weeks ago

Describe the bug

I pulled the latest code locally, installed the dependencies and ran the project with sudo pnpm dev when it reported an error: server is unavailable: channel closed

To Reproduce Steps to reproduce the behavior:

  1. Clone it directly to your local system and run it with sudo pnpm dev after installing the dependencies.

Expected behavior The project is operational

Screenshots

截屏2024-09-02 13 14 01

Desktop (please complete the following information):

github-actions[bot] commented 3 weeks ago

Thank you for your contribution. We will check and reply to you as soon as possible.

PatrykKuniczak commented 3 weeks ago

@Alex20180512 That's sadly not our case, it's turbo related.

Max. you can do for now it's run turbo daemon stop or pnpm clean:turbo to clean everything.

Let my know it will helps you :)

chrisneal commented 3 weeks ago

@Alex20180512 That's sadly not our case, it's turbo related.

Max. you can do for now it's run turbo daemon stop or pnpm clean:turbo to clean everything.

Let my know it will helps you :)

This didn't work for me. In the package.json file, I had to switch it from watch to run. That fixes it, and I'm not sure what I'm missing as everything seems to be working as I'd expect?

    "dev": "turbo ready && turbo watch dev --concurrency 20",
    "dev:firefox": "turbo ready && cross-env __FIREFOX__=true turbo watch dev --concurrency 20",
    "dev": "turbo ready && turbo run dev --concurrency 20",
    "dev:firefox": "turbo ready && cross-env __FIREFOX__=true turbo run dev --concurrency 20",
PatrykKuniczak commented 3 weeks ago

@Alex20180512 That's sadly not our case, it's turbo related. Max. you can do for now it's run turbo daemon stop or pnpm clean:turbo to clean everything. Let my know it will helps you :)

This didn't work for me. In the package.json file, I had to switch it from watch to run. That fixes it, and I'm not sure what I'm missing as everything seems to be working as I'd expect?

    "dev": "turbo ready && turbo watch dev --concurrency 20",
    "dev:firefox": "turbo ready && cross-env __FIREFOX__=true turbo watch dev --concurrency 20",
    "dev": "turbo ready && turbo run dev --concurrency 20",
    "dev:firefox": "turbo ready && cross-env __FIREFOX__=true turbo run dev --concurrency 20",

What OS you have?

PatrykKuniczak commented 3 weeks ago

@Alex20180512 Anyway, i can change it, because it works the same for me on Windows 11

Alex20180512 commented 3 weeks ago

@Alex20180512 That's sadly not our case, it's turbo related. Max. you can do for now it's run turbo daemon stop or pnpm clean:turbo to clean everything. Let my know it will helps you :)

这对我不起作用。在 package.json 文件中,我不得不将其从watch改为run。这样就解决了问题,我不知道自己漏掉了什么,因为一切似乎都在按照我的预期运行?

    "dev": "turbo ready && turbo watch dev --concurrency 20",
    "dev:firefox": "turbo ready && cross-env __FIREFOX__=true turbo watch dev --concurrency 20",
    "dev": "turbo ready && turbo run dev --concurrency 20",
    "dev:firefox": "turbo ready && cross-env __FIREFOX__=true turbo run dev --concurrency 20",

Wow, I changed it to run and it worked, thank you!