score:2
I'm having the same problem, while upgrading a React app from v15.X to 16.X. Apparently, InterpolateHtmlPlugin needs to be updated to 4.X in order for this error to disappear but, in our case, that version also breaks compatibility with other libraries of us.
It seems like Node packages are getting crazy and wrecking havoc. I've spent more than 6 working days already trying to upgrade my Webpack, React, Babel, Jest, CRA and ExtReact dependencies. All of them have shipped a major version in the last months and it seems impossible to make them work altogether again.
Node has made JS really powerful, but really tedious and painful to configure and develop. We're embracing everything we didn't like from other languages, and this is a result of it.
Source: stackoverflow.com
Related Query
- create-react-app npm run start in production mode. Maybe not possible?
- unable to run npm start for react-native project
- npm start command not working, when I try to run my React application
- Unable to run npm start: "this.htmlWebpackPlugin.getHooks is not a function"
- ReferenceError: window is not defined. I got this error when I run npm test to unit testing by jest
- snowpack Package "abstracts/variables" not found. Have you installed it? getting this error while running npm start
- npm start throwing error status 1 require is not a function
- On npm start npm ERR! A complete log of this run can be found in:
- when i try to run the project with library @google/model-viewer by npm start i get this error
- how to fix this npm start not working ( after npx create-react-app )
- npm start error:npm start require(...) is not a function npm ERR! code ELIFECYCLE
- npm start & npm run build not working | React App
- NPM Watch for css changes not working on on npm run start
- sh: react-scripts: command not found after running npm start
- React npm start not working : 'No version of chokidar available'
- react-router : run is not a function
- npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap
- Missing Script when I run npm start to create React app
- npm ERR! tarball.destroy is not a function
- form-data | axios: Unable to get headers from FormData, Error: getHeaders is not a function
- Why is this returning the error .contains() is not a function
- Next JS npm start app load 404 page not found error for physical pages
- What's the difference between npm run dev and npm run start in Next.js?
- NPM Start not starting local server
- npm install succeeds but npm run start fails to find both rimraf and react-scripts despite them being installed
- Unable to run webpack-dev-server on react-native-web. ERROR: You may need an appropriate loader to handle this file type
- Npm start gives me : 'react-scripts' is not recognized as an internal or external command, operable program or batch file.'
- Webpack: npm start "Module not found: Error: Can't resolve ..." after moving location for webpack / react files
- npm run build does not update the react components
- require.context not a function when trying to run Mocha tests
More Query from same tag
- How to access array elements in react js?
- getSnapshotBeforeUpdate using react hooks
- React-native: "could not connect to development server"- android app
- React / Ant Design - unable to Upload XLSX
- Trying to find some function like setFieldError on Antdesign Reactjs
- Toggle all checkbox using a main button and itself
- Is it possible to insert form into each row in table using Ant.design?
- How to URL-encode ParsedUrlQuery?
- Req.files to hold file objects in multiple arrays
- Changing state in componentDidMount doesn't lead to render in child component
- React | How to get length of divs by id/class?
- Error Importing with scss @import in storybook
- adding onclick to an array of items
- How to search/filter in react-table, if the accessor was the function
- Implement multiple interfaces in graphql
- Combining Array-contains with == in Firebase
- How to get a length of react return element?
- How do I implement an onClick method in one child component that updates the text in a sibling component, based on the state in App.js?
- Inserting data at a specified index
- Using @apollo/react-hooks, the react app crashes hard on refresh being expired
- reactjs onclick display component
- Convert Webpack syntax to browserify syntax
- How to pass a variable from a post request to a function that takes params as string or array of string in Node.js?
- redux form initialValues not updating state
- Component not rendering on redirecting to same page
- using onChange with es6
- ApexCharts barchart vertical categories logic in ReactJs?
- Error: Invariant failed: You should not use <Link> outside a <Router> Anyone?
- Typescript error says property does not exist on type
- unit testing a react component with mocha