Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4] Eas Update Showing exporting... #915

Open
50UM3N opened this issue May 14, 2024 · 3 comments
Open

[v4] Eas Update Showing exporting... #915

50UM3N opened this issue May 14, 2024 · 3 comments

Comments

@50UM3N
Copy link

50UM3N commented May 14, 2024

I created an expo app with expo router and NativeWind 4 I followed all the steps correctly, but when I do eas update it stuck at exporting.

Here is the terminal screenshot
image

I am also providing the configs.

metro.config.js

// Learn more https://docs.expo.io/guides/customizing-metro
const { getDefaultConfig } = require("expo/metro-config");
const { withNativeWind } = require('nativewind/metro');

const config = getDefaultConfig(__dirname)

module.exports = withNativeWind(config, { input: './global.css' })

tailwind.config.js

/** @type {import('tailwindcss').Config} */
module.exports = {
  // NOTE: Update this to include the paths to all of your component files.
  content: ["./app/**/*.{js,jsx,ts,tsx}"],
  presets: [require("nativewind/preset")],
  theme: {
    extend: {},
  },
  plugins: [],
}

babel.config.js

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

package.json

{
    "expo": "~51.0.5",
    "expo-constants": "~16.0.1",
    "expo-linking": "~6.3.1",
    "expo-router": "~3.5.12",
    "expo-status-bar": "~1.12.1",
    "expo-updates": "~0.25.11",
    "nativewind": "4.0.1",
    "react": "18.2.0",
    "react-native": "0.74.1",
    "react-native-reanimated": "~3.10.1",
    "react-native-safe-area-context": "4.10.1",
    "react-native-screens": "3.31.1",
    "tailwindcss": "^3.4.3"
}
@50UM3N 50UM3N changed the title Eas Update Showing exporting... [v4] Eas Update Showing exporting... May 14, 2024
@SakuZN
Copy link

SakuZN commented May 14, 2024

Make sure your project path structure does not contain any space.

@50UM3N
Copy link
Author

50UM3N commented May 14, 2024

Make sure your project path structure does not contain any space.

No, the path name is just app and there is no space

And one more thing, when I install NativeWind v2, the eas update is working fine.

@SakuZN
Copy link

SakuZN commented May 14, 2024

This takes into account your entire project path, so if your full path is structured like "C:\Program Files\Projects\app" it will cause that error. Some of the PR has some solution to this problem but my fix for that error was making sure the entire project path does not contain any space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants