Material-Table Something went wrong error - material-table

I am using Material-table in my project. When I reload the grid I get a something went wrong error message displayed.
I installed this package:
yarn add material-table
yarn add #material-ui/core
I am getting the DevTools was disconnected from the page error.
Error Screenshot:

Related

error: Error: Unable to resolve module react-freeze

I was adding drawer navigation to my application and everything worked fine. But 4 days after I started receiving following error.
error: Error: Unable to resolve module react-freeze from C:\Users\Jukez\Desktop\familyrecipebook\node_modules\react-native-screens\src\index.native.tsx: react-freeze could not be found within the project or in these directories
I have read the repository of the react-native-screens and tried adding the enableFreeze(false) to App.js but still the error remained. Then tried adding it to the index.js but the error still remained.
I have also run yarn start --reset-cache and gradlew clean
But those haven't worked either and now I am running out of ideas.
Try to Re-install the package and after do "npm install".
If it doesnt work open your "package.json" file and remove the package from there.
It seems that the issue was react-native: 0.68.2 version and when downgraded to 0.68.1 everything worked normally. Seems like there is some issues within new version so have to wait little bit before updating

Expo keeps crashing with error message - dyld: Symbol not found: _FSEventStreamCreate Abort Trap 6

Expo was working fine until I did an npm install native-base --save and it keeps crashing every time I try to start it. I'm on Mac and have am using my real mobile devices to view the changes in my project.
I've uninstalled the native-base but am not sure how to replace the missing files.
Refer to error message screenshot here
Managed to find a solution for now (thanks to #brentvatne).
I updated the packages, including node:
brew update
brew upgrade node
And when I started Expo, another error came up - EMFILE: too many open files, watch at FSEvent.FSWatcher._handle.onchange
The error is caused by Watchman, to which I resolved it with:
brew install watchman

Problem validating app.json: Unable to perform cache refresh

i had everything working fine, great tool Expo. however, after updating the expo (npm i -g expo --save) i started getting this problem.
i managed to solve the invalid version issue by adding "sdkVersion": "38.0.0" to my app config - but it was working fine before that. don't know why it started appearing now. struggling to solve "unknown option `--assetExts'" issue here, could you please help ?
Warning: Problem validating app.json: Unable to perform cache refresh
for \schema-undefined.json: Error: Request failed with status code 404.
Error: Invalid sdkVersion. Valid options are 7.0.0, 8.0... 38.0.0
error: unknown option `--assetExts'
Metro Bundler process exited with code 1
Set EXPO_DEBUG=true in your env to view the stack trace.
Problem got fixed for me after updating the expo-cli to the latest version:
npm install -g expo-cli
I had the same problem, what solved it for me was clearing the react-native packager cache.
I ran: expo start --clear
Expo cli docs:
https://docs.expo.io/workflow/expo-cli/
In my package I added:
"start:clear": "expo start --clear",
just to help in the future...

error: bundling failed: ReferenceError: Module not registered in graph

i am a newbe in react native
i don't know what is going on with my apps
the node said "error: bundling failed: ReferenceError: Module not registered in graph"
please helpenter image description here
This error usually occurs when you install a new module (while packager is open).
Firstly you can try close your packager and run react-native run-ios. If this approach does not help, you can try delete node modules directory and npm install again. But i believe first approach will work.

Error: Can't resolve 'stream' in .... papaparse

Im getting this error using ngx-papaparse in angular. It was working, I then tried adding jquery to my project, and in the process was warned of security issues, so I followed instructions and tried npm audit fix. In the process something seems to have gone awry and now I'm getting...
ERROR in ./node_modules/papaparse/papaparse.min.js Module not found:
Error: Can't resolve 'stream' in
'/mnt/c/Users/j2wil/Documents/CodingDojo/projects/Scouts/public/node_modules/papaparse
I've tried a number of things including removing node_modules and npm install. Also deleting packages.json and reinstalling. But I keep seeing the same error.
I had the similar issue. Please try installing the stream package.
npm install stream --save