You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
Syntax error attempting to generate definitions file for react-native-webrtc.
Terminal Output
MacBook-Pro:Desktop Aaron$ dts-gen -m react-native-webrtc
Unexpected crash! Please log a bug with the commandline you specified.
/usr/local/lib/node_modules/react-native-webrtc/index.js:3
import RTCPeerConnection from './RTCPeerConnection';
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/dts-gen/bin/lib/run.js:57:67)
System
dts-gen -v: 0.5.6
macOS: 10.12.6
node -v: v8.1.4
npm -v: 5.3.0
react-native-webrtc: 1.58.1
The text was updated successfully, but these errors were encountered:
Description
Syntax error attempting to generate definitions file for react-native-webrtc.
Terminal Output
System
dts-gen -v
:0.5.6
macOS
:10.12.6
node -v
:v8.1.4
npm -v
:5.3.0
react-native-webrtc
:1.58.1
The text was updated successfully, but these errors were encountered: