There is not this file and I get ERROR in ./node_modules/#mui/x-date-pickers/node_modules/#mui/utils/esm/index.js - material-ui

I am trying to use #mui/x-data-grid-premium trial version.
Before the npm install #mui/x-data-grid-premium everything works fine. After the installation, I changed DataGrid to DataGridPremium and I saved the file then my site shows the following error
`ERROR in ./node_modules/#mui/x-date-pickers/node_modules/#mui/utils/esm/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: ENOENT: no such file or directory, open 'C:\Users..\frontend\node_modules#mui\x-date-pickers\node_modules#mui\utils\esm\index.js'`

Related

Swift error on Windows: invalidManifestFormat: Missing or empty JSON output from manifest compilation

I've installed Swift 5.6.1 on my Windows 10 machine, including all the necessary Visual Studio components, but I can't seem to build anything. Even just running the following set of commands in git bash results in an error:
mkdir swiftTest
cd swiftTest
swift package init --type executable
swift build
Specifically, the swift build command gives the following errors:
warning: Failed creating default cache location, Error Domain=NSCocoaErrorDomain Code=256 "(null)"
'swiftTest': error: invalidManifestFormat("Missing or empty JSON output from manifest compilation for swiftTest", diagnosticFile: nil)
The error message seems surprisingly rare -- the top google results were the source of the program that generated that error, and an unrelated error with similar wording from a ReactJS application.
Do I just have to add some flags to the swift build command, or is there something else wrong with my setup?
In my case what fixed it was invoking the command from a Visual Studio Developer Command prompt.

Unable to debug React Native using VSCode

Fresh init of a RN project with a fresh copy of React Native Full Pack in VSCode. I'm unable to get this new project to debug, but am able to get other projects to debug using the same methods. I've tried recreating the project and still no dice. I can use react-native run-android in a command prompt to get it to debug, but not VSCode. I keep getting this error:
events.js:167
throw er; // Unhandled 'error' event
^
Error: EPERM: operation not permitted, lstat 'c:\Users\user\Documents\repos\app\android\app\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\android\support\asynclayoutinflater'
Emitted 'error' event at:
at NodeWatcher.<anonymous> (c:\Users\user\Documents\repos\app\node_modules\metro\node_modules\sane\src\node_watcher.js:291:16)
at c:\Users\user\Documents\repos\app\node_modules\graceful-fs\polyfills.js:282:31
at FSReqWrap.oncomplete (fs.js:158:21)
[Error] Error: Error while executing command 'react-native.cmd run-android --no-packager': Error while executing command 'react-native.cmd run-android --no-packager' (error code 101)
I've also tried running the packager first, but it still default to a --no-packager run.
Deleting and reinstall NPM packages seems to work some of the time. But a better way to fix this problem is to run gradlew.bat clean from inside the android folder of the RN directory, then rerun the packager and restart the app.
install NodeWatcher.
use this command in windows : npm install node-watch
also try this.
You can also clean your build cache and gradle cache.
For more detail about how to do it, check this article: How to clear gradle cache

Google Speech to Text iOS app example: could not build module 'googleapis'

Has anyone been able to successfully build Google's Speech to Text iOS example in Swift 4?
The swift project posted to the Github repo: GoogleCloudPlatform/ios-docs-samples does not seem to be well-maintained. When I open the workspace example, I immediately get 3 build errors in locating header files and "could not build module googleapis."
On installing googleapis
I looked up documentation on pod install for pod 'googleapis', :path=> "." but this produces the following error: [!] No podspec found for googleapis in . I found the googleapis.podspec and downloaded the .zip file and when I did a pod install, got this error:
[!] /bin/bash -c
set -e
Pods/!ProtoCompiler/protoc --plugin=protoc-gen-grpc=Pods/!ProtoCompiler-gRPCPlugin/grpc_objective_c_plugin --objc_out=. --grpc_out=. -I . -I Pods/!ProtoCompiler google//.proto google////.proto google//.proto: No such file or directory
On $ npm install googleapis, I get errors:
npm WARN saveError ENOENT: no such file or directory, open '/Users/grehce/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/grehce/package.json'
npm WARN grehce No description
npm WARN grehce No repository field.
npm WARN grehce No README data
npm WARN grehce No license field.
On locating Header files
Even after pointing it to the correct path in Build Settings > Header Search Paths, the headers are still unable to be found.
missing header file even though it exists
added Header Search Paths
If someone can help correct those above 2 issues OR provide a working iOS example of the Google Speech to Text integrated .xcodeproj example, would be much appreciated!
Github: https://github.com/GoogleCloudPlatform/ios-docs-samples/issues/89
I had problems getting this sample to work as well until I realised that that you are supposed to run the script ./INSTALL-COCOAPODS instead of just doing a regular pod install. This fixes up some paths after installing the pods. Alternatively, you can follow the instructions in the BUILDFIXES file in the repo.
It's annoying that it doesn't just work like any other project, but at least, once you read the manual, it is an easy enough fix.
This is very annoying and bears better documentation from Google's part.
On installing googleapis
You must add the "google" folder from the iOS example project into the same folder as your xcodeproj (sort of alluded to here: https://github.com/GoogleCloudPlatform/ios-docs-samples/issues/19)
You must ignore the "Cannot load underlying module for googleapis" and force build after the googleapis pod install has succeeded. Apparently, "Cannot load underlying module for x" is an xcode bug (Cocoapods + Cannot load underlying module for 'x')
note:
pod 'googleapis', :path=> "."

ionic serve don't run give me "Error: ENOENT: no such file or directory"

I work in ionic framework and create new project
after that when i run
ionic serve
the browser open and give me this msg
Error: ENOENT: no such file or directory, open '/Users/.../ionicProject/www/index.html'
File names are case sensitives, maybe you should go to check it.

unable to open mkb files in windows

Am getting an error while opening .mkb files of marmalade in windows.
It shows the following error while trying to open the sample applications .mkb file :
C:\Marmalade\6.2\s3e\makefile_builder\mkb.py
C:\Marmalade\6.2\examples\IwGx\IwGxBasicLighting.mkb
Building project: c:/Marmalade/6.2/examples/IwGx/IwGxBasicLighting.mkb
Executing: 'c:\marmalade\6.2\s3e\bin\mdev.bat update'
Downloading: http://source.madewithmarmalade.com/packages/6.2/Packages
error: error downloading url: http://source.madewithmarmalade.com/packages/6.2/Packages (<urlopen error (10060, 'Operation timed out')>)
c:/marmalade/6.2/modules/iwutil/iwutil.mkf(19) :
error: Executing 'c:\marmalade\6.2\s3e\bin\mdev.bat update' failed. (return code 1)
FAILED (error code=3)*
Thanks!
You need to have any active internet connection to open the mkb. Marmalade needs to download certain update files for license check and module updates to work correctly. Since you might be running marmalade for the first time, it throws the error.