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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcyNDg1MzUsIm5iZiI6MTcxNzI0ODIzNSwicGF0aCI6Ii8xMjAzOTkxLzMzMTIwNjcxNC0zZGM2YTlkOC1kMmNlLTQ2N2ItYmMwNi05ZmY1N2EwZGIyNTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MDFUMTMyMzU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmIzOTNiNjRhMDMxZjU1ZDZlYzE1MTdiNDM3NmMxNjRiYWUwOTg4MDBlZTgzYWExMTBkYTc2ZmI3YWMyM2EwNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.LuDBjzGPxYQCMNnEmNNJnpp9uWOouOktArmRLXt7D7E)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcyNDg1MzUsIm5iZiI6MTcxNzI0ODIzNSwicGF0aCI6Ii8xMjAzOTkxLzMzMTE5ODk0NS1kNTM1MTExOC0yZWMyLTRkZGUtYjVhYS00NzA3MTBlOWE0YTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MDFUMTMyMzU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjYyYzFhNzUyMjIxZmVhZjU0NDk3OGNkOTBjNDM3YzBiZDE4YmNkYTRmNjEwMDQzMTY4YTcxZTZjODM1YjU4NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.RHpBgeO0Fr8k8x6nkIJMxPNo5SbFOOevIhEHqUBQR4s)
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)
- FREE PSN GIFT CARD CODES 2024 ✔ Free PSN Codes 2024 😳 PSN Code Giveaway
- ~ToDaY'S<(Free)How to get PSN Codes for FREE in 2024 | Free PSN Gift Card Codes for PS4/PS5!
- (Guides)~!!@!!^~Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- LaTeSt!!**Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- ✔[[FReE!!]]✔Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- [[GeT!]] Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- Bingo Blitz Free Credits - Get Bingo- Unlimited Free Coins & Power Ups Hack 2024
- Earn$$ dice dreams free rolls (2024) - Daily Links
- LaTeSt!!**Dice Dreams Free Rolls (June 2024) - Daily Links
- Dice Dreams Free Rolls (June 2024) - Daily Links
- fReE!! Dice Dreams Free Rolls 2024- Daily Links
- Daily Links Dice Dreams Free Rolls (June 2024)
- Route with Params resets to Index - Static Web & GitHub Pages HOT 5
- $ToDaY'S.FrEe*~ Cash App Money Generator 2024✔ GET Updated $750 Cash App Money Code
- ***NEW***(FREE) ROBLOX GIFT CARD GENERATOR CODES 2024
- (FREE®)~ $100+ PSN Gift Cards Generator 2024 Daily Update - PlayStation Store Gift Card Codes
- [~(Latest Codes)~]FrEe PsN giFt CaRd CoDeS 2024-fReE pSn CaRdS gEnErAtOr
- (UNLOCK)^^ $100 Free Xbox Codes in 2024 | How to get FREE Xbox Gift Cards
- FREE-100$ Xbox Gift Cards Code Generator Update 2024-2025 Latest Tips and Tricks
- FREE Xbox Gift Card Codes [Updated] 50+ New Redeem Code 2024✔How to get Xbox Gift Cards FOR FREE
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.