kamilmielnik / scrabble-solver

Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Super Scrabble, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles. Available in English, French, German, Persian, Polish, Romanian, Spanish, and Turkish.
https://scrabble-solver.org
Other
97 stars 21 forks source link

Missing packages? #168

Closed ericgjackson closed 1 year ago

ericgjackson commented 1 year ago

[Came across your repo from Hacker News. Like what you've built.]

I had to install a bunch of additional packages to get things to run:

env-cmd npm-run-all next workbox-webpack-plugin react-redux @reduxjs/toolkit redux redux-saga store2 classnames react-modal react-use react-popper react-portal react-window workbox-window

Was I missing some step that would have installed everything I needed more simply?

kamilmielnik commented 1 year ago

Was I missing some step that would have installed everything I needed more simply?

Running npm install in the root repository is enough to get all dependencies installed (in handles sub-packages as well, thanks to postinstall script). To make project runnable locally you just need to build all the sub-packages.

To sum up, running these 2 commands in the root folder of a freshly cloned repository should be sufficient:

npm install
npm run install:dev
kamilmielnik commented 1 year ago

I've added some instructions to README: https://github.com/kamilmielnik/scrabble-solver#develop

I hope it helps!

ericgjackson commented 1 year ago

Thanks, that worked.