Open felipe-gdr opened 7 years ago
The error message goes away when I removed the quotes from the edit
property.
File: TodoTextInput.js:38-42
className={
classnames({
'edit': this.props.editing,
'new-todo': this.props.newTodo
})}
After fix:
className={
classnames({
edit: this.props.editing,
'new-todo': this.props.newTodo
})}
Yep, that fixed it. Thanks a million!
Thanks, Felipe!
Yup, was having same issue, thanks for posting solution.
Nice one, fixed the issue. Problem can be found near the bottom of the 'src/app/components' folder.
should be: className={ classnames({ edit: this.props.editing, 'new-todo': this.props.newTodo })}
original is: className={ classnames({ 'edit': this.props.jditing, 'new-todo': this.props.newTodo })}
Still in TodoTextInput.js 40:13 the singlequotes should be removed.
Fixed the issue for me also. Thanks!!!
Description
I'm getting an error message when running
npm run serve
just after a fresh installation of this generatorError Message & Stack Trace
Config
Copy the content from
.yo-rc.json
:Environment