Open tk-dev0927 opened 4 years ago
Same problem. Any solution to this problem yet?
Found a fix that works on my expo project. Just create a webpack.config.js
file with the following content:
const createExpoWebpackConfigAsync = require("@expo/webpack-config");
module.exports = async function (env, argv) {
const config = await createExpoWebpackConfigAsync(
{
...env,
babel: {
dangerouslyAddModulePathsToTranspile: [
// Ensure that all packages starting with @evanbacon are transpiled.
"RadioButtonRN",
],
},
},
argv
);
return config;
};
Answer from this links https://github.com/expo/expo-cli/tree/master/packages/webpack-config#include-modules
Any solution?
@ceessay I was having the same problem and this worked for me. Thanks!
Hi,
I got an error, "Failed to compile" when I run the example code. I am new to React Native and the error location is not in the example code. So I wonder if this is module problem.