-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I installed version 0.0.4 of react-screen-orientation using Yarn. This caused my app to no longer compile, with the following build error:
$ /home/docker/src/node_modules/.bin/parcel watch --hmr-port 8081 static/admin.html static/index.html
🚨 /home/docker/src/node_modules/react-screen-orientation/src/index.js:8:6: Unexpected token (8:6)
6 | const { orientation, children, className } = this.props
7 | return (
> 8 | <div className={`${className} react-orientation react-orientation--${orientation}`}>
| ^
9 | {children}
10 | </div>
11 | )
It seems like the package was published to the registry without being compiled?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels