gaearon / gaearon/react-document-title
TypeError: Cannot read property 'string' of undefined at eval
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
TypeError: Cannot read property 'string' of undefined
at eval (file:///C:/Users/xxxx/Desktop/xxxx/node_modules/react-document-title/index.js:24:28)
Please find my below dependencies and dev dependencies
`"dependencies": {
"bootstrap": "^3.3.7",
"css-loader": "^0.23.1",
"extract-text-webpack-plugin": "2.1.2",
"file-loader": "^0.9.0",
"fixed-data-table": "^0.6.3",
"flux": "^2.1.1",
"font-awesome": "^4.7.0",
"gel-bootstrap-3": "^0.6.23",
"google-maps-react": "^1.0.19",
"invariant": "^2.2.1",
"less": "^2.7.1",
"less-loader": "^2.2.3",
"loader-utils": "^1.1.0",
"lodash": "^4.16.6",
"moment": "^2.14.1",
"moment-timezone": "^0.5.6",
"promise": "^7.1.1",
"prop-types": "^15.5.8",
"react": "^16.0.0",
"react-bootstrap": "^0.31.0",
"react-document-title": "^2.0.2",
"react-dom": "^16.0.0",
"react-esri-map": "0.1.19",
"react-flexbox": "^3.1.1",
"react-hotkeys": "^0.10.0",
"react-infinite-scroller": "^1.0.4",
"react-overlays": "^0.6.10",
"react-router": "^4.1.1",
"react-router-bootstrap": "^0.23.1",
"react-router-transition": "0.0.5",
"react-scroll": "^1.5.4",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"whatwg-fetch": "^0.11.0"
},
"devDependencies": {
"babel": "^6.5.2",
"babel-core": "^6.10.4",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-2": "^6.11.0",
"babel-register": "^6.14.0",
"better-npm-run": "0.0.8",
"chai": "^3.5.0",
"chai-enzyme": "^1.0.0-beta.0",
"cheerio": "^1.0.0-rc.2",
"copy-webpack-plugin": "^2.1.1",
"enzyme": "^3.1.1",
"enzyme-adapter-react-16": "^1.0.4",
"eslint": "^3.19.0",
"eslint-plugin-react": "^5.2.2",
"eventsource-polyfill": "^0.9.6",
"globule": "^1.0.0",
"h2o2": "^5.4.0",
"hapi": "^13.3.0",
"hapi-webpack-plugin": "^1.3.0",
"html-webpack-plugin": "^2.29.0",
"inert": "^4.1.0",
"isomorphic-fetch": "^2.2.1",
"json-loader": "^0.5.4",
"mocha": "^2.5.3",
"mocha-junit-reporter": "^1.11.1",
"nodemon": "^1.11.0",
"nyc": "^7.1.0",
"react-addons-perf": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-hot-api": "^0.4.5",
"react-hot-loader": "^1.3.0",
"webpack": "^2.6.1",
"webpack-dev-server": "^2.4.5",
"webpack-hot-middleware": "^2.6.0"
}
}
`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the TypeError with React 16.0.0 and react-document-title 2.0.2, then inspect node_modules/react-document-title/index.js at line 24. Compare the reported dependency versions with the package's expected React integration and identify the compatible behavior or dependency combination. Done means the error is reproducible, its cause is documented, and a verified resolution is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100