Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: How to start locally? #883

Closed
Praveen03AJJARAPU opened this issue Dec 24, 2023 · 2 comments
Closed

[Bug]: How to start locally? #883

Praveen03AJJARAPU opened this issue Dec 24, 2023 · 2 comments
Labels

Comments

@Praveen03AJJARAPU
Copy link

Describe the bug

PS C:\Users\Praveen\open-source\react-icons> yarn start
Usage Error: Couldn't find a script named "start".

$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] ...

This happened to me after yarn install.
I can't run yarn build also.

Expected behavior

It should be running locally

Minimal sample repository URL

https://github.com/Praveen03AJJARAPU/react-icons

Steps To Reproduce

  1. Fork it.
  2. Clone the repo
  3. Run yarn install
  4. run yarn build/start

Package version

4.12.0

Relevant log output

No response

Additional context

No response

@kamijin-fanta
Copy link
Member

Please refer to CI scripts, etc.

@Yashasewi
Copy link

hii i am trying to build it locally but i am getting this error @kamijin-fanta

i am using wsl and forked master branch and after reading the Development guide
and runnig this

yarn
cd packages/react-icons
yarn fetch # fetch icon sources
yarn build

I am getting these error while building it locally

Error

================= @react-icons/all initialize =================
@react-icons/all initialize: 0.093 sec

================= @react-icons/all write icons =================
@react-icons/all write icons: 45.544 sec

================= @react-icons/all-files initialize =================
@react-icons/all-files initialize: 6.6 sec

================= @react-icons/all-files write icons =================
@react-icons/all-files write icons: 49.691 sec

================= react-icons_builders write icon versions =================
/home/yashasewi/react-icons/packages/react-icons/scripts/task_common.ts:97
throw new Error(Missing path for: ${icon.name});
^

Error: Missing path for: Devicons
at Object.writeIconVersions (/home/yashasewi/react-icons/packages/react-icons/scripts/task_common.ts:97:13)
at null. (/home/yashasewi/react-icons/packages/react-icons/scripts/build.ts:71:7)
at null.task (/home/yashasewi/react-icons/packages/react-icons/scripts/build.ts:16:3)
at null.main (/home/yashasewi/react-icons/packages/react-icons/scripts/build.ts:70:5)

any idea how to build the project or fix this error .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants