Skip to content

Warnings for web platform #853

@adilbridgecare

Description

@adilbridgecare

Description

Hi,

I'm using this package for my react-native-web project. which is working fine, but giving an error while compiling or running, pasting below.

WARNING in ./node_modules/react-native-audio-api/lib/module/api.web.js 20:0-154
export 'OscillatorType' (reexported as 'OscillatorType') was not found in './types.js' (module has no exports)
 @ ./node_modules/react-native-audio-api/lib/module/index.js 3:0-22 3:0-22
 @ ./src/utils/hooks.ts 78:21-54
 @ ./src/utils/index.ts 12:0-24 12:0-24
 @ ./App.tsx 23:0-230 48:28-44 50:10-16 73:21-28 97:29-48 121:19-26 127:19-37 129:30-43 130:12-18 130:60-63 131:58-61 133:19-27 134:19-22 149:4-10 150:4-10 155:4-10 193:4-10 200:19-37 216:4-10 227:14-20 233:14-20 245:21-29 250:21-40 258:21-39 263:14-20 275:21-29 280:21-40 288:21-39 295:16-22 303:18-26 309:14-20 313:21-40 321:21-39 326:14-20 360:18-24 362:18-26 386:6-14 393:8-16 422:16-22 425:16-24 432:18-26 436:14-22 443:16-24 474:19-32 476:12-18 652:37-53
 @ ./index.web.js 3:0-24 10:9-12

WARNING in ./node_modules/react-native-audio-api/lib/module/api.web.js 20:0-154
export 'BiquadFilterType' (reexported as 'BiquadFilterType') was not found in './types.js' (module has no exports)
 @ ./node_modules/react-native-audio-api/lib/module/index.js 3:0-22 3:0-22
 @ ./src/utils/hooks.ts 78:21-54
 @ ./src/utils/index.ts 12:0-24 12:0-24
 @ ./App.tsx 23:0-230 48:28-44 50:10-16 73:21-28 97:29-48 121:19-26 127:19-37 129:30-43 130:12-18 130:60-63 131:58-61 133:19-27 134:19-22 149:4-10 150:4-10 155:4-10 193:4-10 200:19-37 216:4-10 227:14-20 233:14-20 245:21-29 250:21-40 258:21-39 263:14-20 275:21-29 280:21-40 288:21-39 295:16-22 303:18-26 309:14-20 313:21-40 321:21-39 326:14-20 360:18-24 362:18-26 386:6-14 393:8-16 422:16-22 425:16-24 432:18-26 436:14-22 443:16-24 474:19-32 476:12-18 652:37-53
 @ ./index.web.js 3:0-24 10:9-12

WARNING in ./node_modules/react-native-audio-api/lib/module/api.web.js 20:0-154
export 'ChannelCountMode' (reexported as 'ChannelCountMode') was not found in './types.js' (module has no exports)
 @ ./node_modules/react-native-audio-api/lib/module/index.js 3:0-22 3:0-22
 @ ./src/utils/hooks.ts 78:21-54
 @ ./src/utils/index.ts 12:0-24 12:0-24
 @ ./App.tsx 23:0-230 48:28-44 50:10-16 73:21-28 97:29-48 121:19-26 127:19-37 129:30-43 130:12-18 130:60-63 131:58-61 133:19-27 134:19-22 149:4-10 150:4-10 155:4-10 193:4-10 200:19-37 216:4-10 227:14-20 233:14-20 245:21-29 250:21-40 258:21-39 263:14-20 275:21-29 280:21-40 288:21-39 295:16-22 303:18-26 309:14-20 313:21-40 321:21-39 326:14-20 360:18-24 362:18-26 386:6-14 393:8-16 422:16-22 425:16-24 432:18-26 436:14-22 443:16-24 474:19-32 476:12-18 652:37-53
 @ ./index.web.js 3:0-24 10:9-12

WARNING in ./node_modules/react-native-audio-api/lib/module/api.web.js 20:0-154
export 'ChannelInterpretation' (reexported as 'ChannelInterpretation') was not found in './types.js' (module has no exports)
 @ ./node_modules/react-native-audio-api/lib/module/index.js 3:0-22 3:0-22
 @ ./src/utils/hooks.ts 78:21-54
 @ ./src/utils/index.ts 12:0-24 12:0-24
 @ ./App.tsx 23:0-230 48:28-44 50:10-16 73:21-28 97:29-48 121:19-26 127:19-37 129:30-43 130:12-18 130:60-63 131:58-61 133:19-27 134:19-22 149:4-10 150:4-10 155:4-10 193:4-10 200:19-37 216:4-10 227:14-20 233:14-20 245:21-29 250:21-40 258:21-39 263:14-20 275:21-29 280:21-40 288:21-39 295:16-22 303:18-26 309:14-20 313:21-40 321:21-39 326:14-20 360:18-24 362:18-26 386:6-14 393:8-16 422:16-22 425:16-24 432:18-26 436:14-22 443:16-24 474:19-32 476:12-18 652:37-53
 @ ./index.web.js 3:0-24 10:9-12

WARNING in ./node_modules/react-native-audio-api/lib/module/api.web.js 20:0-154
export 'ContextState' (reexported as 'ContextState') was not found in './types.js' (module has no exports)
 @ ./node_modules/react-native-audio-api/lib/module/index.js 3:0-22 3:0-22
 @ ./src/utils/hooks.ts 78:21-54
 @ ./src/utils/index.ts 12:0-24 12:0-24
 @ ./App.tsx 23:0-230 48:28-44 50:10-16 73:21-28 97:29-48 121:19-26 127:19-37 129:30-43 130:12-18 130:60-63 131:58-61 133:19-27 134:19-22 149:4-10 150:4-10 155:4-10 193:4-10 200:19-37 216:4-10 227:14-20 233:14-20 245:21-29 250:21-40 258:21-39 263:14-20 275:21-29 280:21-40 288:21-39 295:16-22 303:18-26 309:14-20 313:21-40 321:21-39 326:14-20 360:18-24 362:18-26 386:6-14 393:8-16 422:16-22 425:16-24 432:18-26 436:14-22 443:16-24 474:19-32 476:12-18 652:37-53
 @ ./index.web.js 3:0-24 10:9-12

WARNING in ./node_modules/react-native-audio-api/lib/module/api.web.js 20:0-154
export 'WindowType' (reexported as 'WindowType') was not found in './types.js' (module has no exports)
 @ ./node_modules/react-native-audio-api/lib/module/index.js 3:0-22 3:0-22
 @ ./src/utils/hooks.ts 78:21-54
 @ ./src/utils/index.ts 12:0-24 12:0-24
 @ ./App.tsx 23:0-230 48:28-44 50:10-16 73:21-28 97:29-48 121:19-26 127:19-37 129:30-43 130:12-18 130:60-63 131:58-61 133:19-27 134:19-22 149:4-10 150:4-10 155:4-10 193:4-10 200:19-37 216:4-10 227:14-20 233:14-20 245:21-29 250:21-40 258:21-39 263:14-20 275:21-29 280:21-40 288:21-39 295:16-22 303:18-26 309:14-20 313:21-40 321:21-39 326:14-20 360:18-24 362:18-26 386:6-14 393:8-16 422:16-22 425:16-24 432:18-26 436:14-22 443:16-24 474:19-32 476:12-18 652:37-53
 @ ./index.web.js 3:0-24 10:9-12

WARNING in ./node_modules/react-native-audio-api/lib/module/api.web.js 20:0-154
export 'PeriodicWaveConstraints' (reexported as 'PeriodicWaveConstraints') was not found in './types.js' (module has no exports)
 @ ./node_modules/react-native-audio-api/lib/module/index.js 3:0-22 3:0-22
 @ ./src/utils/hooks.ts 78:21-54
 @ ./src/utils/index.ts 12:0-24 12:0-24
 @ ./App.tsx 23:0-230 48:28-44 50:10-16 73:21-28 97:29-48 121:19-26 127:19-37 129:30-43 130:12-18 130:60-63 131:58-61 133:19-27 134:19-22 149:4-10 150:4-10 155:4-10 193:4-10 200:19-37 216:4-10 227:14-20 233:14-20 245:21-29 250:21-40 258:21-39 263:14-20 275:21-29 280:21-40 288:21-39 295:16-22 303:18-26 309:14-20 313:21-40 321:21-39 326:14-20 360:18-24 362:18-26 386:6-14 393:8-16 422:16-22 425:16-24 432:18-26 436:14-22 443:16-24 474:19-32 476:12-18 652:37-53
 @ ./index.web.js 3:0-24 10:9-12

WARNING in ./node_modules/react-native-audio-api/lib/module/specs/NativeAudioAPIModule.js 4:27-50
export 'TurboModuleRegistry' (imported as 'TurboModuleRegistry') was not found in 'react-native-web/dist/index' (possible exports: AccessibilityInfo, ActivityIndicator, Alert, Animated, AppRegistry, AppState, Appearance, BackHandler, Button, CheckBox, Clipboard, DeviceEventEmitter, Dimensions, Easing, FlatList, I18nManager, Image, ImageBackground, InteractionManager, Keyboard, KeyboardAvoidingView, LayoutAnimation, Linking, LogBox, Modal, NativeEventEmitter, NativeModules, PanResponder, Picker, PixelRatio, Platform, Pressable, ProgressBar, RefreshControl, SafeAreaView, ScrollView, SectionList, Share, StatusBar, StyleSheet, Switch, Text, TextInput, Touchable, TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback, UIManager, Vibration, View, VirtualizedList, YellowBox, findNodeHandle, processColor, render, unmountComponentAtNode, unstable_createElement, useColorScheme, useLocaleContext, useWindowDimensions)

Steps to reproduce

Install a package into your react-native-web project and use WebPack to compile or run the project.

Snack or a link to a repository

https://github.com/software-mansion/react-native-audio-api/issues

React Native Audio API version

^0.10.2

React Native version

0.82.1

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Release app & dev bundle

Device

None

Device model

Terminal CLI

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions