Missing class properties transform
natinaum opened this issue · comments
Description
When i try to use react native udp to send jwt packages it always throws a "Missing class properties transform." Syntax Error. I just try to build up a basic working example, but it just fails.
OS: Linux Mint
Env: Yarn
Steps to reproduce
Steps to reproduce the behavior:
- setup a project with yarn
- try adding udp package sending via udp
- cry a bit
- ???
- no profit
Error code:
SyntaxError: /home/yannik/repo/webstuff/ledcontroller/node_modules/react-native-udp/src/index.js: Missing class properties transform.
23 | }
24 |
> 25 | static Socket = UdpSocket
| ^
26 | }
27 |
28 | export default UdpSockets
My Code:
import React ,{useState,useEffect}from 'react';
import './App.css';
import dgram from 'react-native-udp';
const socket = dgram.createSocket('udp4');
socket.bind(12345);
Current behavior
Dont Work
Expected behavior
Work
Is there maybe some bad interaction known with crypto or jwt libs?
I'm just f*ing confused :/
Screenshots
If applicable, add screenshots to help explain your problem.
Relevant information
OS | ? |
react-native | ? |
react-native-udp | ? |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community attention? This issue may be closed if no further activity occurs.
Not solved, but i think the problem is not the bib but a general depency/pre proc. Clusterfuck :)