Comments (7)
Forwarded this issue npm/cli#7537, I'll also backport & release the fix ASAP.
If others are running into this as well, the fastest fix for now is to downgrade npm from 10.8.0
(current latest) to 10.7.0
. That would avoid this issue for now, until we released a workaround, or npm has released a fix.
You can do that with npm install --global [email protected]
, or npm i -g [email protected]
from expo.
Heads up, [email protected]
will likely (not released yet) ship with a fix. See npm/cli#7537
For now, only SDK 51 has been patched. We will likely hold off on backporting this to older versions, as npm seems to fix it soon-ish.
from expo.
@byCedric I would like to add that running npx expo prebuild --template https://github.com/expo/expo/tree/main/templates/expo-template-bare-minimum
only once makes all further npx expo prebuild
and npx expo run:android
commands work without a problem.
I would also like to add that the same problem happens when npx eas-cli build --local --platform android --profile $PROFILE
is invoked as well, where $PROFILE
is either preview
or development
. This wasn't specified in the initial body of the issue, so I apologize.
from expo.
Yep, I just found the issue @elektromob. It's npm 10.8.0 returning a different response than npm <10.7.0. (Note the missing quotes)
![image](https://private-user-images.githubusercontent.com/1203991/331206714-3dc6a9d8-d2ce-467b-bc06-9ff57a0db259.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MjIxMDgsIm5iZiI6MTcxOTgyMTgwOCwicGF0aCI6Ii8xMjAzOTkxLzMzMTIwNjcxNC0zZGM2YTlkOC1kMmNlLTQ2N2ItYmMwNi05ZmY1N2EwZGIyNTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDFUMDgxNjQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDY0ZGEyYzU1ZWNmODhmMjBhZDkzYWZhY2Q0MzU1NjJjYmM2ODVmNzAyZTExYThiMmRmODNjZGNhNzg1NmJhZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.tKv-RdSBhvtEGkPwxYCBvt_3V1_q2O3XZU4aRmmha-k)
from expo.
Update
Following is a temporary fix:
npx expo prebuild --template https://github.com/expo/expo/tree/main/templates/expo-template-bare-minimum
from expo.
Hi @elektromob, thanks for the report. It's interesting what's going on here, my best guess is that either Linux or npm decided to change its output. Basically, how this works is that it should be parsing the string, with the quotes. Meaning that it's technically just a valid JSON string, e.g.
![image](https://private-user-images.githubusercontent.com/1203991/331198945-d5351118-2ec2-4dde-b5aa-470710e9a4a4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MjIxMDgsIm5iZiI6MTcxOTgyMTgwOCwicGF0aCI6Ii8xMjAzOTkxLzMzMTE5ODk0NS1kNTM1MTExOC0yZWMyLTRkZGUtYjVhYS00NzA3MTBlOWE0YTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDFUMDgxNjQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTA2MDg2MzM4YjEwNDZlYWQyNTlkMzFiYzFhNjEyNTAxZDEzNmY2MWNjZmY1YjI2MmJkNjJiNWJkODBkYTlhNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.-fzjKwmaDOLzkTSsGIZ1lkNHCgRh7V0oFOiYy_Ez6PY)
But, we can make that less brittle.
from expo.
Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.
from expo.
Related Issues (20)
- The code is valid for a limited time only, so it's best to use it as soon as possible. [1][3] - The 30% discount applies to your entire order, with no minimum spend requirement. [1][3] - Temu offers free standard shipping on all orders, and free express shipping on orders over $129. [1] - New customers can also get 30% off their first order of $39 or more using the code coupon code {aaf63818}. [1] In addition to the 30% off code, Temu is also offering other great deals and discounts in 2024, including: - Up to 80% off during Temu's Annual Savings Sale event [1] - Up to 90% off sitewide, plus an extra 30% discount [1] - $20 off orders of $150 or more [1] - $30 off your order [1] - Up to 50% off on the Temu Clearance section [1] So in summary, the Temu coupon code coupon code {aaf63818} is your best option to save 30% on your purchase in 2024. Be sure to take advantage of this limited-time offer to maximize your savings on Temu. HOT 6
- temu coupon code HOT 2
- Branch deeplinks unreliable on iOS
- ERROR TypeError: Streaming request bodies is not supported & ERROR Invariant Violation: "main" has not been registered.
- [expo-web-browser] [expo-auth-session] ERR_UNKNOWN_URL_SCHEME in auth flow
- Android AVD SystemImage API 35 - Error - DETECT_SCREEN_CAPTURE
- reactCanary experiments no longer working - stuck on Splash Screen HOT 5
- [expo] Allow expo to be devDependency for local development. Autolinking Error: ':expo-modules-core' could not be found in project ':expo' HOT 2
- CommandError: Timeout waiting for 'metro' dev server to close with EXPO_USE_FAST_RESOLVER=1 HOT 3
- Dependency incompatibility between expo-camera and @tensorflow/tfjs-react-native in Expo SDK 51 HOT 2
- [expo] Underscores are allowed in android package name
- Empty data when sending FCM push HOT 2
- Expo build apk issue HOT 3
- expo-location not working? HOT 1
- HTTP Request Host Header Port Handling Issue in Expo CLI
- Unexpected ref object provided for ExpoImage (writing a unit test to render a image with expo-image ) HOT 1
- cxzvzcxvxc HOT 1
- Unexpected ref object provided for ExpoImage (writing a unit test to render a image with expo-image)
- [Android] App glitches when opening HOT 1
- [docs] Outdated instructions for the "Contribution"-page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.