👨💻 My name is Rafal and this is the place where I open source stuff and break things🤣
💼 Software Engineer, Spring Professional, Certified Apache Kafka Developer
👀 Available for Freelance projects opportunities.
📫 You can reach me via Linkedin
A boilerplate Create React App with Typescript, Redux Toolkit, Redux Saga, React Hook Form, Cypress, Storybook, React-i18next and Material UI👨💻
License: MIT License
👨💻 My name is Rafal and this is the place where I open source stuff and break things🤣
💼 Software Engineer, Spring Professional, Certified Apache Kafka Developer
👀 Available for Freelance projects opportunities.
📫 You can reach me via Linkedin
If you create a repo from this code on the initial checkin under windows you get an error about this line:
"lint:css": "stylelint './src/**/*.{jsx,js,tsx,ts}'",
If you get it to eventually do the initial check in, you can undo whatever hacks you had to do to get it to checkin and future checkins seem OK... googling seems to indicate this is a windows only issue related to the single quotes. Removing them gets rid of the error. Updating the packages may help too seems like there were some bugfixes related to this.
Hi,
Here what i did:
git clone ...,
npm i,
npm run start
Result:
Failed to compile.
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './runtime.js' is not defined by "exports" in /home/user/Documents/progs/react_boiler/react-redux-rtk-saga-mui-typescript-starter/node_modules/react-refresh/package.json
asset static/js/bundle.js 313 KiB [emitted] (name: main) 1 related asset
asset index.html 658 bytes [emitted]
asset asset-manifest.json 190 bytes [emitted]
runtime modules 28.2 KiB 13 modules
modules by path ./node_modules/core-js-pure/ 24.8 KiB 53 modules
modules by path ./node_modules/webpack-dev-server/client/ 62.1 KiB 12 modules
modules by path ./node_modules/webpack/hot/*.js 4.4 KiB
./node_modules/webpack/hot/dev-server.js 1.63 KiB [built] [code generated]
./node_modules/webpack/hot/log.js 1.37 KiB [built] [code generated]
ERROR in ./src/index.tsx
Module build failed (from ./node_modules/@pmmmwh/react-refresh-webpack-plugin/loader/index.js):
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './runtime.js' is not defined by "exports" in /home/user/Documents/progs/react_boiler/react-redux-rtk-saga-mui-typescript-starter/node_modules/react-refresh/package.json
at new NodeError (node:internal/errors:371:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:440:9)
at packageExportsResolve (node:internal/modules/esm/resolve:692:3)
at resolveExports (node:internal/modules/cjs/loader:482:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
at Object. (/home/user/Documents/progs/react_boiler/react-redux-rtk-saga-mui-typescript-starter/node_modules/@pmmmwh/react-refresh-webpack-plugin/loader/index.js:20:4)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
ERROR in ./node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js 4:23-58
Module not found: Error: Package path ./runtime.js is not exported from package /home/user/Documents/progs/react_boiler/react-redux-rtk-saga-mui-typescript-starter/node_modules/react-refresh (see exports field in /home/user/Documents/progs/react_boiler/react-redux-rtk-saga-mui-typescript-starter/node_modules/react-refresh/package.json)
webpack 5.70.0 compiled with 2 errors in 11334 ms
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.