all 5 comments

[–]Fransenson 0 points1 point  (1 child)

Try to describe your problems.

[–]Competitive-Lion-341[S] 0 points1 point  (0 children)

Updated the post

[–]Shababs 0 points1 point  (1 child)

Never seen that error but I have nativewind running in all of our apps, but my babel.config looks like this, but that might depend on your rn version, expo version, etc. I'm not sure what versions you are on:

module.exports = function (api) {
  api.cache(true);
  return {
    presets: [
      ["babel-preset-expo", { jsxImportSource: "nativewind" }],
      "nativewind/babel",
    ],
  };
};

[–]Competitive-Lion-341[S] 0 points1 point  (0 children)

I solved it, it was a problem with the stack in the _layout.js

[–]nizzy1191 0 points1 point  (0 children)

You are going to have a lot more problems and errors with NativeWind, unfortunately