React native run time error, How to solve it? - react-redux

I have reset the metro but the same problem is happening. How can I solve this problem? The same problem is happening when I changed the port. I was facing the same problem when I rebuilt the project.
{
"name": "meal",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"#react-native-community/masked-view": "^0.1.11",
"#react-native-firebase/app": "^12.4.0",
"#react-native-firebase/database": "^12.4.0",
"#react-native-firebase/firestore": "^12.4.0",
"#react-native-firebase/messaging": "^12.4.0",
"#react-native-firebase/storage": "^12.4.0",
"#react-native-picker/picker": "^1.16.3",
"#react-navigation/bottom-tabs": "^5.11.11",
"#react-navigation/drawer": "^5.12.5",
"#react-navigation/native": "^5.9.4",
"#react-navigation/stack": "^5.14.5",
"#reduxjs/toolkit": "^1.6.0",
"add": "^2.0.6",
"babel-preset-react-native": "^5.0.2",
"firebase-admin": "^9.11.0",
"lottie-react-native": "^4.0.2",
"moment": "^2.29.1",
"react": "17.0.1",
"react-dom": "^17.0.2",
"react-icons": "^4.2.0",
"react-is": "^17.0.2",
"react-native": "0.64.1",
"react-native-animated-loader": "^0.0.9",
"react-native-chart-kit": "^6.11.0",
"react-native-checkbox-selection": "^1.1.0",
"react-native-date-picker": "^3.3.2",
"react-native-dropdown-picker": "^5.1.21",
"react-native-elements": "^3.4.1",
"react-native-gesture-handler": "^1.10.3",
"react-native-image-picker": "^4.0.3",
"react-native-navigation-bar-color": "^2.0.1",
"react-native-picker-select": "^8.0.4",
"react-native-push-notification": "^7.4.0",
"react-native-reanimated": "^2.0.0",
"react-native-router-flux": "^3.45.0",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.3.0",
"react-native-splash-screen": "^3.2.0",
"react-native-svg": "^12.1.1",
"react-native-vector-icons": "^8.1.0",
"react-redux": "^7.2.4",
"yarn": "^1.22.11"
},
"devDependencies": {
"#babel/core": "^7.12.9",
"#babel/highlight": "^7.14.5",
"#babel/runtime": "^7.12.5",
"#react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "7.14.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.64.0",
"react-test-renderer": "17.0.1"
},
"jest": {
"preset": "react-native"
}
}

Delete the node_modules and package-lock.json. Install everything fresh and it should work.

Related

Cannot find module '#babel/plugin-proposal-decorators' from '/app'

My application perfectly running and building on localhost. But when it's building on Heroku, I'm getting the following error:
./src/index.js
Error: Cannot find module '#babel/plugin-proposal-decorators' from '/app'
at Array.map (<anonymous>)
That's my package.json:
{
"name": "agroproject-ui",
"version": "0.1.0",
"private": true,
"dependencies": {
"#ckeditor/ckeditor5-build-classic": "^12.0.0",
"#ckeditor/ckeditor5-react": "^1.1.1",
"#fortawesome/fontawesome-svg-core": "^1.2.8",
"#fortawesome/free-solid-svg-icons": "^5.5.0",
"#fortawesome/react-fontawesome": "^0.1.3",
"#pluralsight/ps-design-system-actionmenu": "^3.1.10",
"#pluralsight/ps-design-system-badge": "^2.1.12",
"#pluralsight/ps-design-system-button": "^10.8.15",
"#pluralsight/ps-design-system-card": "^8.5.8",
"#pluralsight/ps-design-system-dropdown": "^0.5.3",
"#pluralsight/ps-design-system-layout": "^3.0.2",
"#pluralsight/ps-design-system-normalize": "^3.0.45",
"#pluralsight/ps-design-system-row": "^2.6.25",
"#pluralsight/ps-design-system-textinput": "^0.5.6",
"#svgr/webpack": "2.4.1",
"#tinymce/tinymce-react": "^3.0.1",
"axios": "^0.18.0",
"babel-eslint": "9.0.0",
"babel-jest": "23.6.0",
"babel-loader": "8.0.4",
"babel-plugin-named-asset-import": "^0.2.2",
"babel-preset-react-app": "^5.0.4",
"bfj": "6.1.1",
"case-sensitive-paths-webpack-plugin": "2.1.2",
"chalk": "2.4.1",
"css-loader": "1.0.0",
"dotenv": "6.0.0",
"dotenv-expand": "4.2.0",
"eslint": "5.6.0",
"eslint-config-react-app": "^3.0.4",
"eslint-loader": "2.1.1",
"eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.11.1",
"file-loader": "2.0.0",
"fs-extra": "7.0.0",
"glamor": "^2.20.40",
"google-maps-react": "^2.0.2",
"html-webpack-plugin": "4.0.0-alpha.2",
"identity-obj-proxy": "3.0.0",
"jest": "23.6.0",
"jest-pnp-resolver": "1.0.1",
"jest-resolve": "23.6.0",
"jsonwebtoken": "^8.4.0",
"mini-css-extract-plugin": "0.4.3",
"node-sass": "^4.9.4",
"optimize-css-assets-webpack-plugin": "5.0.1",
"pnp-webpack-plugin": "1.1.0",
"postcss-cssnext": "^3.1.0",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-import": "^12.0.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.0.6",
"postcss-safe-parser": "4.0.1",
"prop-types": "^15.6.2",
"react": "^16.5.2",
"react-app-polyfill": "^0.1.3",
"react-aux": "^1.1.0",
"react-dev-utils": "^6.0.5",
"react-dom": "^16.5.2",
"react-redux": "^6.0.0",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-table": "^6.8.6",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"resolve": "1.8.1",
"sass-loader": "7.1.0",
"style-loader": "0.23.0",
"terser-webpack-plugin": "1.1.0",
"url-loader": "1.1.1",
"webpack": "4.19.1",
"webpack-dev-server": "^3.2.1",
"webpack-manifest-plugin": "2.0.4",
"workbox-webpack-plugin": "3.6.2"
},
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"test": "node scripts/test.js"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"resolver": "jest-pnp-resolver",
"setupFiles": [
"react-app-polyfill/jsdom"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx}"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
},
"babel": {
"presets": [
"react-app"
]
},
"devDependencies": {
"#babel/core": "^7.4.3",
"#babel/plugin-proposal-class-properties": "^7.4.0",
"#babel/plugin-proposal-decorators": "^7.4.0",
"#babel/preset-env": "^7.1.6",
"redux-devtools": "^3.4.2",
"redux-devtools-extension": "^2.13.7",
"stylelint-config-airbnb": "0.0.0"
}
Any idea what could possibly is wrong with package.json?
You have included #babel/plugin-proposal-decorators in your devDependencies.
By default, Heroku installs your dependencies and devDependencies, builds your slug, and then strips out your devDependencies. This makes sense: in most cases devDependencies shouldn't be on production; that's for things like testing frameworks, editor plugins, etc. that you need in development but not in production.
I recommend moving this module to your dependencies, though an alternative solution would be to tell Heroku not to prune your devDependencies by setting NPM_CONFIG_PRODUCTION=false or YARN_PRODUCTION=false, depending on the tool you're using.
Both approaches will require a redeploy to take effect, and unless you have a clear reason to use devDependencies on Heroku I urge you to use the former.

How can I solve this error \%RESOURCE_DIR%\?

package.json Angular6:
{
"name": "adnanrealestate",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"#agm/core": "^1.0.0-beta.3",
"#angular-mdc/web": "^0.36.3",
"#angular/animation": "^4.0.0-beta.8",
"#angular/animations": "^6.0.7",
"#angular/cdk": "github:angular/cdk-builds",
"#angular/common": "^6.0.7",
"#angular/compiler": "^6.0.7",
"#angular/core": "^6.0.7",
"#angular/forms": "^6.0.7",
"#angular/http": "^6.0.7",
"#angular/material": "github:angular/material2-builds",
"#angular/platform-browser": "^6.0.7",
"#angular/platform-browser-dynamic": "^6.0.7",
"#angular/platform-server": "^6.1.7",
"#angular/router": "^6.0.7",
"#google-cloud/firestore": "^0.16.1",
"#ng-bootstrap/ng-bootstrap": "^2.1.2",
"#ng-bootstrap/schematics": "^2.0.0-alpha.1",
"#ngrx/store": "^2.2.3",
"#ngui/map": "^0.30.3",
"#ngx-translate/core": "^10.0.2",
"#ngx-translate/http-loader": "^3.0.1",
"#types/googlemaps": "^3.30.10",
"angular-captcha": "^3.4.0",
"angular-file-upload": "^2.5.0",
"angular-file-uploader": "^4.1.1",
"angular-font-awesome": "^3.1.2",
"angularfire2": "^5.0.0-rc.12-next",
"bootstrap": "^4.1.1",
"core-js": "^2.5.4",
"file-saver": "^1.3.8",
"filepond": "^1.8.6",
"firebase": "^5.2.0",
"firebase-admin": "^5.12.1",
"firebase-functions": "^1.1.0",
"firestore": "^1.1.6",
"font-awesome": "^4.7.0",
"fs": "0.0.1-security",
"hammerjs": "^2.0.8",
"json2typescript": "^1.0.6",
"linq2fire": "^1.0.18",
"ng-bootstrap-form-validation": "^3.0.3",
"ng-recaptcha": "^4.0.0",
"ng-slideshow": "^0.8.2",
"ngx-bootstrap": "^3.0.1",
"ngx-gallery": "^5.6.2",
"ngx-international-phone-number": "^0.1.3",
"ngx-intl-tel-input": "^1.0.6",
"ngx-order-pipe": "^2.0.1",
"ngx-pagination": "^3.2.0",
"ngx-popover": "0.0.16",
"rxjs": "^6.0.0",
"rxjs-compat": "^6.2.1",
"time-ago-pipe": "^1.3.2",
"uikit": "^3.0.0-rc.6",
"zone.js": "^0.8.26"
},
"devDependencies": {
"#angular-devkit/build-angular": "~0.6.8",
"#angular/cli": "^6.2.1",
"#angular/compiler-cli": "^6.0.7",
"#angular/language-service": "^6.0.7",
"#types/hammerjs": "^2.0.35",
"#types/jasmine": "~2.8.6",
"#types/jasminewd2": "~2.0.3",
"#types/node": "~8.9.4",
"codelyzer": "~4.2.1",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0",
"ts-node": "^5.0.1",
"tslint": "~5.9.1",
"typescript": "~2.7.2"
}
package.json firebase-functions
{
"name": "functions",
"scripts": {
"lint": "tslint --project tsconfig.json",
"build": "tsc",
"serve": "npm run build && firebase serve --only functions",
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log"
},
"main": "lib/index.js",
"dependencies": {
"firebase-admin": "^6.0.0",
"firebase-functions": "^2.0.5"
},
"devDependencies": {
"tslint": "~5.8.0",
"typescript": "~2.8.3"
},
"private": true
}
\%RESOURCE_DIR%\ image
How can I fix this error?
and after a change to $ same error
I use npm install for angular 6 and for firebase functions, I didn't see any difference.
please help this is a bad error I don't know where is error specifically of version or other.
https://github.com/firebase/firebase-tools/issues/610
I solved this problem, It's very easy. You don't need to uninstall.
Step1: open firebase.json
you will show this JSON file
"functions": {
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint",
"npm --prefix \"$RESOURCE_DIR\" run build"
]
}
Step2: Delete "npm --prefix \"$RESOURCE_DIR\" run lint", and "npm --prefix \"$RESOURCE_DIR\" run build"
"functions": {
"predeploy": [
]
}
Step3: firebase deploy --only functions.
Step4: Like and share my solved.

before all" hook: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves

My package.json id define below and I am using e2e pattern and not define any test file. My test case come under e2e and contain test text so that mocha can read it
{
"name": "appOfCard",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"watch:test": "npm run test -- --watch",
"clean-cache": "watchman watch-del-all",
"svg-transform": "msvgc -f ./src/shared-ui/Icon/svg/$SVG.svg -o ./src/shared-ui/Icon/native/ --react-native",
"#svg_cmd_example": "SVG=search yarn run svg-transform",
"syncmessages": "node syncI18n.js",
"postinstall": "npm run syncmessages",
"rnd": "adb shell input keyevent KEYCODE_MENU",
"runios": "react-native run-ios --simulator='iPhone 7'",
"runandroid": "react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && react-native run-android",
"precommit": "lint-staged && npm run test && npm run syncmessages",
"lint": "eslint src",
"lint-fix": "eslint --fix src",
"test": "mocha .\\e2e\\*test.js",
"detox-server": "detox-server",
"e2e": "mocha e2e --opts ./e2e/mocha.opts",
"build": "xcodebuild -project NativeExample.xcodeproj -scheme NativeExample -derivedDataPath . -sdk iphonesimulator"
},
"rnpm": {
"assets": [
"./src/assets/fonts"
]
},
"moduleRoots": [
"./src/"
],
"lint-staged": {
"*.js": "eslint --ignore-path .gitignore"
},
"dependencies": {
"base-64": "^0.1.0",
"creditcardutils": "^1.0.0",
"email-validator": "^1.1.1",
"gem": "^2.4.2",
"geolib": "^2.0.24",
"husky": "^0.14.3",
"i18n-iso-countries": "^3.3.0",
"i18n-js": "^3.0.1",
"is-email": "^1.0.0",
"jsbarcode": "^3.8.0",
"lint-staged": "^7.0.0",
"lodash": "^4.17.4",
"lodash.groupby": "^4.6.0",
"moment": "^2.19.1",
"normalizr": "^3.2.4",
"prop-types": "^15.5.10",
"react": "^16.2.0",
"react-native": "0.51.0",
"react-native-acc": "^1.0.0",
"react-native-acc-gcm": "^1.0.0",
"react-native-appsflyer": "1.1.12",
"react-native-barcode-builder": "^1.0.2",
"react-native-camera": "https://github.com/PierreYvesParis/react-native-camera.git#stable",
"react-native-communications": "^2.2.1",
"react-native-device-brightness": "^1.2.0",
"react-native-device-info": "^0.17.4",
"react-native-extended-stylesheet": "^0.6.0",
"react-native-firebase": "^3.2.0",
"react-native-geolocation-service": "^1.0.0",
"react-native-htmlview": "^0.12.1",
"react-native-i18n": "^2.0.6",
"react-native-image-picker": "^0.26.7",
"react-native-image-progress": "^1.0.1",
"react-native-interactable": "^0.1.3",
"react-native-keyboard-aware-scroll-view": "~0.4.3",
"react-native-linear-gradient": "^2.3.0",
"react-native-maps": "~0.20.0",
"react-native-material-textfield": "https://github.com/antoinegrelard/react-native-material-textfield.git#master",
"react-native-modal": "^4.0.0",
"react-native-open-maps": "^0.1.1",
"react-native-open-settings": "^1.0.1",
"react-native-photo-view": "^1.4.0",
"react-native-section-list-get-item-layout": "^2.0.0",
"react-native-shadow": "^1.2.1",
"react-native-shadow-view": "^0.0.1",
"react-native-snap-carousel": "^3.6.0",
"react-native-svg": "^5.5.1",
"react-native-swiper": "^1.5.13",
"react-native-text-input-reset": "^1.0.2",
"react-native-version-check": "^2.0.1",
"react-native-video": "^2.0.0",
"react-navigation": "~1.1.2",
"react-navigation-redux-helpers": "~1.0.1",
"react-navigation-slide-from-right-transition": "^1.0.4",
"react-redux": "^5.0.6",
"react-string-replace": "^0.4.1",
"recompose": "^0.25.0",
"redux": "^3.7.2",
"redux-persist": "^4.10.1",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"shortid": "^2.2.8",
"sync-spreadsheet": "^1.0.7",
"vanilla-masker": "^1.2.0"
},
"devDependencies": {
"babel-eslint": "8.2.1",
"babel-jest": "21.0.2",
"babel-plugin-module-resolver": "2.7.1",
"babel-preset-react-native": "3.0.2",
"detox": "^7.3.7",
"eslint": "4.16.0",
"eslint-config-airbnb": "15.1.0",
"eslint-config-prettier": "2.9.0",
"eslint-import-resolver-babel-module": "3.0.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "5.1.1",
"eslint-plugin-prettier": "2.6.0",
"eslint-plugin-react": "7.5.1",
"jest": "21.0.2",
"mocha": "^5.1.1",
"msvgc": "^0.1.1",
"prettier": "1.10.2",
"react-test-renderer": "16.0.0-alpha.12",
"regenerator-runtime": "^0.11.0"
},
"detox": {
"specs": "e2e",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/debug-iphonesimulator/appOfCard.app",
"build": "xcodebuild -project ios/appOfCard.xcodeproj -scheme appOfCard -configuration debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 8 Plus"
}
}
}
}
My init.js file code
const detox = require('detox');
const config = require('../package.json').detox;
-require('babel-polyfill');
before(async () => {
await detox.init(config);
});
after(async () => {
await detox.cleanup();
});

Disable tslint fixes in vue-cli

I need to not allow tslint to fix found errors. For example, if it found comma missing, I need it to only tell me that it found it, and not actually fix it.
I found the "--no-fix" parameter in its vue-cli documentation, but it doesn't look like it is working. (I'm using npm run lint, where "lint": "vue-cli-service lint --no-fix" in package.json)
Are there any other ways to stop tslint's automatic fixes?
The "--no-fix" option works for me. Below is my configuration, please check your lint version:
{
"name": "frontend",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve --port 3000",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint --no-fix",
"test:e2e": "vue-cli-service test:e2e",
"test:unit": "vue-cli-service test:unit"
},
"dependencies": {
"#riophae/vue-treeselect": "0.0.37",
"axios": "^0.18.0",
"bootstrap-vue": "^2.0.0-rc.11",
"izitoast": "^1.4.0",
"moment": "^2.22.2",
"v-calendar": "^0.9.7",
"v-select2-component": "^0.3.1",
"vue": "^2.5.17",
"vue-full-calendar": "^2.7.0",
"vue-izitoast": "^1.1.2",
"vue-js-modal": "^1.3.27",
"vue-router": "^3.0.1",
"vue2-daterange-picker": "^0.1.5",
"vuejs-datepicker": "^1.5.4",
"vuex": "^3.0.1"
},
"devDependencies": {
"#vue/cli-plugin-babel": "^3.1.1",
"#vue/cli-plugin-eslint": "^3.1.5",
"#vue/cli-plugin-unit-jest": "^3.1.1",
"#vue/cli-service": "^3.1.4",
"#vue/eslint-config-standard": "^4.0.0",
"#vue/test-utils": "^1.0.0-beta.20",
"ajv": "^6.5.5",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"eslint": "^5.8.0",
"eslint-plugin-cypress": "^2.1.3",
"eslint-plugin-vue": "^5.0.0-0",
"node-sass": "^4.10.0",
"sass-loader": "^7.1.0",
"vue-template-compiler": "^2.5.17"
}
}

Testing with Mocha and trying to use babel and trying to use array.prototype.includes

I am testing my react/redux code with Mocha and expect, I got mocha configured to use es6 , but it seems to lack support for the array.prototype.includes even when I have a .babelrc specifying stage-0. And in my non-test code, array.prototype.includes works. Are there some settings aside from babelrc specific to mocha that need to be set in order to use array.prototype.includes?
Here is my package.json
{
"name": "client",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "mocha --compilers js:babel-core/register --recursive",
"test:watch": "npm test -- --watch",
"start": "node server.js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"babel-core": "^6.4.0",
"babel-loader": "^6.2.1",
"babel-polyfill": "^6.3.14",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"expect": "^1.14.0",
"lodash": "^4.0.1",
"mocha": "^2.4.5",
"react-addons-test-utils": "^0.14.7",
"react-hot-loader": "^1.3.0",
"redux-devtools": "^3.0.2",
"redux-devtools-dock-monitor": "^1.0.1",
"redux-devtools-log-monitor": "^1.0.2",
"webpack": "^1.12.11",
"webpack-dev-server": "^1.14.1"
},
"dependencies": {
"axios": "^0.8.1",
"cuid": "^1.3.8",
"history": "^1.17.0",
"lodash": "^4.0.1",
"ramda": "^0.19.1",
"react": "^0.14.6",
"react-addons-shallow-compare": "^0.14.7",
"react-dom": "^0.14.6",
"react-redux": "^4.0.6",
"react-router": "^1.0.3",
"react-router-redux": "^2.1.0",
"redux": "^3.1.7",
"redux-crud": "^0.10.1",
"redux-devtools": "^3.0.2",
"redux-devtools-dock-monitor": "^1.0.1",
"redux-devtools-log-monitor": "^1.0.2",
"redux-loop": "^1.0.2",
"redux-saga": "^0.4.1",
"redux-simple-router": "^2.0.3",
"reselect": "^2.0.3",
"seamless-immutable": "^5.0.1"
}
}
Thank you!
Array.prototype.includes is provided via babel-polyfill since it does not require transpiling. It looks like you already have babel-polyfill in your package.json so just make sure you are importing it in your mocha tests.

Resources