Comments (4)
Add these 2 lines to rules section in .eslintrc.json file in the frontend folder:
"import/order": "warn"
"react/no-unescaped-entities": "warn"
from taskcafe.
Hello, Thank you for the info.
Unfortunately, this didn't work as there is a new error.
I tried to build project again, but then this happened:
go run cmd/mage/main.go build
yarn run v1.22.19
$ react-scripts build
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
And after running npx browserslist@latest --update-db
, this was the output:
npx browserslist@latest --update-db
/home/user/.npm/_npx/072487b38308305a/node_modules/browserslist/update-db.js:15
throw new BrowserslistError(
^
Error [BrowserslistError]: Cannot find package.json. Is this the right directory to run `npx browserslist --update-db` in?
at detectLockfile (/home/user/.npm/_npx/072487b38308305a/node_modules/browserslist/update-db.js:15:11)
at updateDB (/home/user/.npm/_npx/072487b38308305a/node_modules/browserslist/update-db.js:263:14)
at Object.<anonymous> (/home/user/.npm/_npx/072487b38308305a/node_modules/browserslist/cli.js:43:3)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
browserslist: true
}
@JordanKnott Can you take a look at this, please?
from taskcafe.
Are you pulling source code from the latest master branch? If that is the case, I recommend you to download the 0.3.2 release.
The latest master branch has lots of bugs. And unfortunately, I don't see any activity of maintainer during this year, so maybe it won't receive any update in the future.
- And for the warning about browserslist, maybe you should cd to the frontend folder first then run the command npx browserslist@latest --update-db.
from taskcafe.
Hello, sorry for the delay.
You were right about both the browserslist, and about the master branch.
Browserslist update works only if you descend to frontend
folder, and build process is working normally for 0.3.2 release.
However, I haven't tested the app fully, but I managed to build the binary file without errors, so I guess that it would be working with appropriate configuration file.
from taskcafe.
Related Issues (20)
- Closing a card with Esc when the label dialogue is open and then choosing to create a new label produces a blank screen HOT 1
- Creating label bring blank page HOT 4
- Build error with yarn : Cannot find module: 'rich-markdown-editor'. Make sure this package is installed.
- TypeError: "current" is read-only HOT 2
- react-scripts fail to build HOT 2
- Initial Install does not bring up installation screen HOT 7
- Task comments no longer render correctly HOT 1
- Filling out "Add Team" on Main Page does not create a new team HOT 3
- Register button is not available HOT 7
- I can't upload data files to taskcafe HOT 3
- No setup page, no default user and register button does nothing HOT 8
- Unable to create team HOT 7
- Should I Be Concerned? HOT 1
- Cannot create new members and filter completed tasks HOT 5
- Chrome cannot be dragged , but edge canγ HOT 3
- User profile (general tab) flags (non-existing) parsing errors and does not allow saving
- [Installation] What is the initial username and password when logging in for the first time? How can a new account be created and configured?
- Add a security policy
- Database-host seems hardcoded to localhost HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taskcafe.