ncarlier / readflow

readflow is a news-reading (or read-it-later) solution focused on versatility and simplicity.
https://about.readflow.app
GNU Affero General Public License v3.0
414 stars 33 forks source link

Can't build UI #66

Closed maksalees closed 9 months ago

maksalees commented 11 months ago

When I try to build the UI with npm run build, the following error appears:

> readflow-app@0.1.0 build
> npm run lint && react-scripts build

> readflow-app@0.1.0 lint
> eslint src/**/*.{js,jsx,ts,tsx,json}

Oops! Something went wrong! :(

ESLint: 8.25.0

No files matching the pattern "src/**/*.jsx" were found.
Please check for typing mistakes in the pattern.
maksalees commented 9 months ago

Any progress?

ncarlier commented 9 months ago

Hi, I am confused because I am unable to reproduce your issue. Can you retry on a fresh clone using the make ui command?

git clone git@github.com:ncarlier/readflow.git
cd readflow
git submodule init && git submodule update
make ui
ncarlier commented 9 months ago

Maybe related to your issue : https://oss.issuehunt.io/r/manuelbieh/react-ssr-setup/issues/88

maksalees commented 9 months ago

Hi, I am confused because I am unable to reproduce your issue. Can you retry on a fresh clone using the make ui command?

git clone git@github.com:ncarlier/readflow.git
cd readflow
git submodule init && git submodule update
make ui

Still same issue

make: go: No such file or directory
>>> Building Web UI...

> readflow-app@0.1.0 build
> npm run lint && react-scripts build

> readflow-app@0.1.0 lint
> eslint src/**/*.{js,jsx,ts,tsx,json}

Oops! Something went wrong! :(

ESLint: 8.25.0

No files matching the pattern "src/**/*.jsx" were found.
Please check for typing mistakes in the pattern.

make: *** [Makefile:132: ui] Error 2
maksalees commented 9 months ago

Maybe related to your issue : https://oss.issuehunt.io/r/manuelbieh/react-ssr-setup/issues/88

After I replaced eslint src/**/*.{js,jsx,ts,tsx} to eslint --ext .js,.jsx,.ts,.tsx src/ in ui/package.json, it works. I will create a pull request with a fix.