Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Warning: Unknown option... This is probably a typing mistake. Fixing it will remove this message. #1251

Open
nicolaturcoep opened this issue Apr 15, 2024 · 0 comments

Comments

@nicolaturcoep
Copy link

● Validation Warning:

Unknown option "serializer.isThirdPartyModule" with value (module) =>
/(?:^|[/\])node_modules[/\]/.test(module.path) was found.
This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

Unknown option "server.forwardClientLogs" with value true was found.
This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

Unknown option "server.unstable_serverRoot" with value null was found.
This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

Unknown option "symbolicator.customizeStack" with value async (stack, _) => stack was found.
This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

Unknown option "watcher" with value {"additionalExts": ["cjs", "mjs"], "healthCheck": {"enabled": false, "filePrefix": ".metro-health-check", "interval": 30000, "timeout": 5000}, "unstable_workerThreads": false, "watchman": {"deferStates": ["hg.update"]}} was found.
This is probably a typing mistake. Fixing it will remove this message.

● Validation Warning:

Unknown option "unstable_perfLoggerFactory" with value () => {
class Logger {
start() {}
end() {}
annotate() {}
point() {}
subSpan() {
return this;
}
}
return new Logger();
} was found.
This is probably a typing mistake. Fixing it will remove this message.

Package.json:

{
"name": "it.epublic.comapp",
"version": "2.1.0",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native --openssl-legacy-provider start",
"test": "jest",
"check-dependencies": "rnx-dep-check",
"fix-dependencies": "rnx-dep-check --write",
"clean": "cd android && gradlew clean && cd..",
"doctor": "npx react-native doctor",
"depcheck": "npx depcheck",
"adb": "adb devices",
"setnodeopenssl": "set NODE_OPTIONS=--openssl-legacy-provider",
"setopt": "set NODE_ENV=production&& webpack --mode production && set NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development&& webpack --mode development --watch",
"cleanmodules": "npm rm -rf node_modules && npm install",
"buildapkdebug": "cd android && gradlew clean assembleDebug && cd..",
"buildapkrelease": "npm i -g react-native-cli && react-native bundle --entry-file index.js --platform android --dev false --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/build/intermediates/res/merged/release/ && cd android && gradlew assembleRelease && cd ..",
"buildaab": "npm i -g react-native-cli && react-native bundle --entry-file index.js --platform android --dev false --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest android/app/build/intermediates/res/merged/release/ && cd android && gradlew clean bundleRelease && cd.. && start .\OpenBundleFolder",
"obf": "start .\OpenBundleFolder",
"aabdebug": "npx react-native build-android --mode=debug",
"aabrelease": "npx react-native build-android --mode=release",
"apkdebug": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && cd android && ./gradlew assembleDebug && cd ..",
"bundletoolapk": "bundletool build-apks --bundle=/LaMiaCitta/android/app/build/outputs/bundle/app-debug.aab --output=/LaMiaCitta/android/app/build/outputs/bundle/my_app.apks"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.17.10",
"@react-native-community/cli": "^6.4.0",
"@react-navigation/bottom-tabs": "^6.3.2",
"@react-navigation/drawer": "^6.4.1",
"@react-navigation/material-bottom-tabs": "^6.2.2",
"@react-navigation/material-top-tabs": "^6.2.2",
"@react-navigation/native": "^6.0.8",
"@react-navigation/native-stack": "^6.6.1",
"@react-navigation/stack": "^6.2.0",
"accordion-collapse-react-native": "^1.1.0",
"pushy-react-native": "^1.0.36",
"react": "18.2.0",
"react-native": "0.73.6",
"react-native-background-fetch": "^4.2.4",
"react-native-background-geolocation": "^4.16.0",
"react-native-bootsplash": "^5.5.2",
"react-native-calendars": "^1.1292.0",
"react-native-draggable": "^3.3.0",
"react-native-gesture-handler": "^2.6.0",
"react-native-image-modal": "^1.0.16",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-in-app-review": "^3.3.3",
"react-native-linear-gradient": "^2.6.2",
"react-native-maps": "^0.31.1",
"react-native-mime-types": "^2.3.0",
"react-native-modal": "^13.0.0",
"react-native-pager-view": "^5.4.15",
"react-native-paper": "^4.12.4",
"react-native-permissions": "^3.6.0",
"react-native-reanimated": "^3.8.1",
"react-native-render-html": "^6.1.0",
"react-native-safe-area-context": "^4.4.1",
"react-native-screens": "^3.18.2",
"react-native-tab-view": "^3.1.1",
"react-native-vector-icons": "^9.2.0",
"react-native-webview": "^13.8.4",
"rn-fetch-blob": "^0.12.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "0.73.21",
"@react-native/eslint-config": "0.73.2",
"@react-native/metro-config": "0.73.5",
"@react-native/typescript-config": "0.73.1",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.6.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react-test-renderer": "18.2.0",
"typescript": "5.0.4"
},
"engines": {
"node": ">=18"
}
}

error occur when executing "npm run buildapkrelease" from cmd terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant