Skip to content

TypeError: Cannot read property 'string' of undefined #17

@johnsonsamuel

Description

@johnsonsamuel

import MarkdownTextarea from 'react-markdown-textarea';

Getting when I did the import of react-markdown-textarea. Any thoughts ?

ERROR:::::::
screen shot 2018-05-28 at 11 43 47 am

TypeError: Cannot read property 'string' of undefined
(anonymous function)
node_modules/react-textarea-autosize/lib/TextareaAutosize.js:153
150 | /**
151 | * Current textarea value.
152 | */

153 | value: _React2['default'].PropTypes.string,
154 |
155 | /**
156 | * Callback on value change.
View compiled
./node_modules/react-textarea-autosize/lib/TextareaAutosize.js
node_modules/react-textarea-autosize/lib/TextareaAutosize.js:201
198 | }]);
199 |
200 | return TextareaAutosize;
201 | })(_React2['default'].Component);
202 |
203 | exports['default'] = TextareaAutosize;
204 |
View compiled
webpack_require
/Users/J0070489/Documents/sample-projects/my-react/webpack/bootstrap 1ec269dcaded70059190:678
675 | };
676 |
677 | // Execute the module function
678 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
679 |
680 | // Flag the module as loaded
681 | module.l = true;
View compiled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions