question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot read property 'string' of undefined

See original GitHub issue

Just followed the first step on the tutorial at https://www.learnstorybook.com/get-started/ and when opening the storybook at http://localhost:6006/ an Uncaught TypeError error is thrown and the page is blank.

{
  "name": "tasklist",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "react": "^16.3.1",
    "react-dom": "^16.3.1",
    "react-scripts": "1.1.4"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject",
    "storybook": "start-storybook -p 6006",
    "build-storybook": "build-storybook"
  },
  "devDependencies": {
    "@kadira/storybook": "^2.21.0"
  }
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tmeasdaycommented, Apr 10, 2018

FTR, I think the best way to use one-shot tools like getstorybook and create-react-app is via npx—it will always install the latest version (rather than whatever you have installed on your system from last time you used it), and ensure you are up to date. @domyen should we change this part?

1reaction
domyencommented, Apr 10, 2018

Oops, getstorybook that was a old dependency, will update. 🤦‍♂️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'string' of undefined | React.PropTypes
After deleting and reinstalling my node_modules folder, I'm facing an issue that I don't understand in LayoutPropTypes.js file. In node_modules/ ...
Read more >
Uncaught TypeError: Cannot read property 'string' of undefined
I am trying to use Flexmonster component with jQuery JavaScript Library v1.11.3 and jQuery UI – v1.8.23 – 2012-08-15. I am getting error ......
Read more >
Cannot Read Property of Undefined in JavaScript - Rollbar
TypeError: Cannot read property of undefined occurs when a property is read or a function is called on an undefined variable.
Read more >
Uncaught TypeError: Cannot read property of undefined In
Uncaught TypeError : Cannot read property of undefined error occurs in Chrome when you read a property or call a method on an...
Read more >
Uncaught TypeError: Cannot read property 'string' of undefined
Can anyone please give comments to solution of correct error while open Product Form of ODOO 12? Error: Uncaught TypeError: Cannot read ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found