score:0
Accepted answer
in case anybody else comes across this issue, i have found a hack which i'm not keen on but it works for now.
i added the following to webpack.config.js
{
plugins: {
new webpack.contextreplacementplugin(
/\/package-name\//,
(data) => {
delete data.dependencies[0].critical;
return data;
},
),
},
resolve: {
fallback: {
// list of failing modules required only in the api
"crypto": false,
"fs": false,
"http": false,
"path": false,
"net": false,
"querystring": false,
"stream": false,
"url": false,
"util": false,
"zlib": false
}
}
}
Source: stackoverflow.com
Related Query
- Sharing a folder between react & node typescript
- Sharing Constant Variables between Node and React
- Sharing code between a Typescript React project and a Typescript Express project
- Editing code of react npm modules in node module folder
- Sharing code between TypeScript projects (with React)?
- Sharing code between Firebase Functions and React
- Sharing components between two react apps
- Visual Studio Code unbound breakpoint Node JS React TypeScript
- Infer generic type between 2 props in React TypeScript
- Sharing data between components in React
- What is the difference between a javascript package, node package, and react package?
- Sharing session between React front-end server and PHP/Symfony back-end server
- Sharing data between React components
- Sharing Code between Multiple React Applications with Symlinks
- sharing react between microfrontend bundles without CDN
- How Do I Pass a Function Through A React Component For Data Sharing Between Parent and Child?
- React TypeScript difference between React.FC<T> and Function ()
- Sharing props/state between two components in react
- Adding custom Typescript type declaration for a node module in Create React App
- Sharing React components between projects while keeping the source code in one of them
- React Typescript distinguish between different prop types, choosing from one of two types
- Node/React/Redux: having problems passing api JSON object between Node and React
- create react app and SVG from node modules folder
- How can I require react components from a local folder without node_modules from a globally installed node app?
- want to upload zip folders from react UI and send it to backend node js server from where i can place that folder in a ceratin path on my system
- File sharing web app using React and Node js
- Share functions between "public" folder and "src" folder - React app
- Sharing a configuration file between Python and a React project created with create-react-app
- Code sharing between React ES6 Classes
- React & TypeScript - what's the difference between `React.Component` and `typeof React.Component`
More Query from same tag
- ReactJS: Mutating child state from parent via props
- React js form validation
- Why does react refuse to convert jsx to HTML component and just returns [object Object]?
- axios cannot get public/[name].json folder in reactjs
- Why is the preventDefault() method not working for me in my react application?
- Not setting state in time
- Redux - Reset state of subtree
- How get value from dispatch?
- Bootstrap with React: accordion won't work
- MUI: A component is changing the uncontrolled value state of Select to be controlled
- How to get react grand-child node to render when child is out of my control
- How to change the order of html elements inside ReactJS return function dynamically?
- How to call api in ionic framework using react?
- How to add border radius on react-jdenticon component?
- Why doesn't my checkboxes show up in react?
- Why is my API call receiving repeat data when it should be random?
- map function in javascript not working properly for React components
- How to switch between month and year in react-day-picker date range selector
- How to filter array with only purchases made by user
- React update state from a form
- Error writing my first HOF react component: This may happen if you return a return a Component instead of <Component />
- How to structure mobx
- Eslint jsx-curly-spacing specific format
- Issue with states - was working but now returns an inscrutable error
- Delayed state change in hook
- React getting Invalid state while using async action creator with redux-thunk
- Error: Not implemented: HTMLFormElement.prototype.submit
- Material ui : Table scroll to top of new page
- Higher order component not passing props
- Table - how to expand from specific column