package not working
See original GitHub issueHello,i will install package but i can’t use it it’s show me many error’s
Uncaught Error: Element ref was specified as a string (inner) but no owner was set. This could happen for one of the following reasons:
1. You may be adding a ref to a functional component
2. You may be adding a ref to a component that was not created inside a component's render method
3. You have multiple copies of React loaded
my component
import React, { Component } from 'react'
import BigCalendar from 'react-big-calendar'
import moment from 'moment'
BigCalendar.setLocalizer(BigCalendar.momentLocalizer(moment))
class CalendarDashboardBody extends Component {
state = {
fake: [
{
id: 0,
title: 'All Day Event very long title',
allDay: true,
start: new Date(2015, 3, 0),
end: new Date(2015, 3, 1),
},
{
id: 1,
title: 'Long Event',
start: new Date(2015, 3, 7),
end: new Date(2015, 3, 10),
}
]
}
render() {
return (
<BigCalendar
events={this.state.fake}
startAccessor='startDate'
endAccessor='endDate'
/>
)
}
}
export default CalendarDashboardBody
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Packages not loading since updating RStudio - General
I initially discovered problems just with installing dplyr and tidyr with the updated version of R (R-3.4.2), but I am now having trouble...
Read more >Troubleshooting - Package Control
Troubleshooting ; Select the View > Show Console menu entry; Look for any lines starting with Package Control: ; Select the Preferences >...
Read more >NPM install for packages not working - node.js - Stack Overflow
I tried using sudo, but afterwards I would get a response "command not found." I have a feeling the packages may not be...
Read more >Android Package Installer Not Working - YouTube
Let's fix your Android package installer if it's not working properly in this quick and easy guide.If you find that Android's package ......
Read more >Package installed but not working - LaTeX Stack Exchange
According to the TeX Live Utility, the package is installed (I tried re-installing it as well). However, when I try typesetting via TeXShop,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks,i solved it,problem is the, bundle.js in my index.html i have the <script src="/bundle.js"></script> I delete it and it’s working
Make sure you only have one copy of each. Generally bundlers give you hooks for doing that, like alias in webpack