(plugin node-resolve) Error: Error running plugin hook resolveId for node-resolve, expected a function hook - rollup

Following 14.0.0 version upgrade for "#rollup/plugin-node-resolve" plugin, when running my build I always get this error message :
[!] (plugin node-resolve) Error: Error running plugin hook resolveId for node-resolve, expected a function hook.
Error: Error running plugin hook resolveId for node-resolve, expected a function hook.
at error (/Users/***/Documents/GitHub/poke/node_modules/rollup/dist/shared/rollup.js:198:30)
at throwInvalidHookError (/Users/***/Documents/GitHub/poke/node_modules/rollup/dist/shared/rollup.js:22635:12)
at /Users/***/Documents/GitHub/poke/node_modules/rollup/dist/shared/rollup.js:22776:24
Was there any breaking change that I should be aware ?

Related

React Native Error: react-native-sensor-manager:compileDebugJavaWithJavac FAILED

I'm trying to use the react-native-sensor-manager in order to get the user steps and count that. But the problem is after I installed this package and did all the configuration as in the documentation. I don't know what is wrong although a did all the steps correctly. I get this error when I run my project. So the build doesn't become compeleted and project is running.
Here is more about the error:
Task :react-native-sensor-manager:compileDebugJavaWithJavac FAILED
E:\Project\React Native Projects\walk_tacker2\node_modules\react-native-sensor-manager\android\src\main\java\com\sensormanager\AccelerometerRecord.java:9: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
* What went wrong:
Execution failed for task ':react-native-sensor-manager:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

vite: Uncaught (in promise) TypeError: crypto.randomBytes is not a function

How the problem arises:
Access to vite in the project, an error is reported when running vite
Error corresponding file:
return crypto.randomBytes(Math.ceil(len / 2)).toString('hex').slice(0, len); //This line reports an error in /node_modules/.vite/unique-string.js
Run framework, version:
vue2.6.12、vue-cli4、vite2.5.5 (The latest version does not work too)
Ask for advice~~

Build failed with an exception : could not get unknown property 'mergeResourcesProvider'

After i install #expo/vector-icons
i can't build my application again with this error appear.
*Where
Script 'C:\Users\Mostafa\SecurityEye\node_modules\react-native\react.gradle' line: 95
A problem occurred configuring project ':app'.
could not get unknown property 'mergeResourcesProvider' for object of type com.android.build.gradle.internal.api.ApplicationVariantImpl.
line 95:
variant.mergeResourcesProvider.get().dependsOn(currentBundleTask)
maybe you can update gradle version to 4.10.1 android buildtool to 3.3.0

MainActivity error while importing package: `react-native-google-vr-panorama`

I am getting an error when I import a package into my JS file:
import GoogleVRPanorama, { PanoramaView } from 'react-native-google-vr-panorama'
Error:
This error I get with all the VR 360 components I try to import.
Edit-1:
I did follow the installation steps but I didn't rebuild the app
MainApplication.java: MainApplication
So when I rebuild the app, getting the following error:
C:\Users\cherry\Test03\node_modules\react-native-google-vr-panorama\android\src\main\java\com\xebia\googlevrpanorama\RNGoogleVRPanoramaPackage.java:14:
error: method does not override or implement a method from a supertype
#Override
^ Note: C:\Users\cherry\Test03\node_modules\react-native-google-vr-panorama\android\src\main\java\com\xebia\googlevrpanorama\RNGoogleVRPanoramaView.java
uses unchecked or unsafe operations. Note: Recompile with
-Xlint:unchecked for details. 1 error :react-native-google-vr-panorama:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-google-vr-panorama:compileReleaseJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Sounds like you either
1. Did not finish the install steps, i.e. adding lines to MainApplication etc., see https://github.com/XebiaStudio/react-native-google-vr-panorama/blob/master/README.md#installation for details
or
2. Did not rebuild the app with react-native run-android.

Cant start Spinnaker UI Deck

Getting error in spinnaker when we start the web-ui.
Get stuck too much. The error i got is:
vendor.bundle.js:9331 Uncaught Error: [$injector:modulerr] Failed to instantiate module netflix.spinnaker due to:
Error: [$injector:modulerr] Failed to instantiate module spinnaker.core due to:
Error: [$injector:modulerr] Failed to instantiate module spinnaker.core.notification.types due to:
TypeError: Cannot read property 'email' of undefined at Object.register
thanks .
What spinnaker version do you run?
Upgrade spinnaker first
perhaps use Minnaker OSS to get started faster for PoC.