stevekinney / chores-redux Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://frontendmasters.com/courses/redux-fundamentals/
Home Page: https://frontendmasters.com/courses/redux-fundamentals/
When I run yarn v1.22.19
to install dependencies, and then run yarn start
. I get the following error.
I'm using node v18.17.1
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in C:\Users\salah\Documents\GitHub\chores-redux\node_modules\postcss-safe-parser\node_modules\postcss\package.json
at new NodeError (node:internal/errors:405:5)
at exportsNotFound (node:internal/modules/esm/resolve:359:10)
at packageExportsResolve (node:internal/modules/esm/resolve:695:9)
at resolveExports (node:internal/modules/cjs/loader:567:36)
at Module._findPath (node:internal/modules/cjs/loader:636:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:121:18)
at Object.<anonymous> (C:\Users\salah\Documents\GitHub\chores-redux\node_modules\postcss-safe-parser\lib\safe-parser.js:1:17) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
I think there's an issue with this line:
chores-redux/src/components/Task.js
Line 20 in afaf2c4
Based on the Frontend Masters exercise, I believe that should be:
checked={task.completed}
When I change it to that (and complete the exercise), checking the box on an assigned task also marks it in the original Tasks list (which I assume was the desired functionality):
I tried to open a PR with this change, but I can't even publish my branch to this repo. So I opted for an issue instead. ๐คทโโ๏ธ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.