(0 , _ScaledSheet.default) is not a function
See original GitHub issueHello Wierd error accurs. when I import extend lib.
.env
SIZE_MATTERS_BASE_WIDTH=750
SIZE_MATTERS_BASE_HEIGHT=1336
app.js
import { ScaledSheet } from 'react-native-size-matters/extend';
(0 , _ScaledSheet.default) is not a function
<unknown>
extend.js:4:46
loadModuleImplementation
require.js:302:4
guardedLoadModule
require.js:203:11
metroRequire
require.js:122:6
<unknown>
App.js:9
loadModuleImplementation
require.js:302:4
guardedLoadModule
require.js:203:11
metroRequire
require.js:122:6
<unknown>
index.js:6
loadModuleImplementation
require.js:302:4
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Uncaught TypeError: (0 , o.default) is not a function
It seems to be import statement somewhere in your file is incorrect. Example: (from an issue) // fails import combineReducers from "redux" ...
Read more >typeerror: (0 , express_1.default) is not a function - You.com
I'm getting [TypeError: (0 , express_1.default) is not a function for my code. import express from "express"; const app = express (); //...
Read more >react-native-size-matters - npm
A React-Native utility belt for scaling the size your apps UI across different sized devices. Latest version: 0.4.0, last published: 2 years ...
Read more >is not a function or its return value is not iterable in ReactJs ...
TypeError: react__WEBPACK_IMPORTED_MODULE_0_default is not a function or its return value is not iterable 1 | import useState from 'react'; ...
Read more >(0 , import_defineToJSON.default) is not a function - Bugs
When trying to import '@8base/auth' to a Vite+Vue 3 project, the following error is trigger by the import statement. Uncaught TypeError: (0 ......
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
@jindong5210 Maybe you can try to update the lib to v0.3.0, because i work with that version, and extend functionality work fine
Gonna close this for now as it doesn’t seem to reproduce for others.