Comments (10)
It worked!
➜ ~ npm cache clean --force
npm WARN using --force I sure hope you know what you are doing. (I didn't )
➜ ~ npm install -g appcenter-cli
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
/usr/local/bin/appcenter -> /usr/local/lib/node_modules/appcenter-cli/bin/appcenter.js
+ [email protected]
added 273 packages from 232 contributors in 12.081s
from appcenter-cli.
Tab completion only supports bash at this time, not zsh.
from appcenter-cli.
Reopening now that I understand the behavior better.
from appcenter-cli.
Hey @krukow and @RIDE55 , thanks for flagging this out :) We're working on fixing this bug in the next few sprints and will update again when it's completed.
from appcenter-cli.
Hi @krukow! The bug is now fixed in CLI v1.1.14. Please download the new version of the CLI, and test this out. Let us know if you run into any issues. Thank you for the patience! There are still issues with the bug fix, my apologies. I'll update again when this is fixed.
cc @AndreyMitsyk @owenniblock
from appcenter-cli.
thanks @amchew ! I'm trying to upgrade, but now I run into this?
➜ ~ npm install -g appcenter-cli
npm ERR! Unexpected end of JSON input while parsing near '...^2.1.0","cli-width":"'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/krukow/.npm/_logs/2018-10-11T19_25_05_779Z-debug.log
not sure if it's a local problem with my setup, but I couldn't find any similar errors via Google search.
Here's the verbose log
392 http fetch GET 200 https://registry.npmjs.org/yazl 15ms (from cache)
393 silly pacote range manifest for xmldom@^0.1.27 fetched in 25ms
394 silly resolveWithNewModule [email protected] checking installable status
395 silly pacote range manifest for xml2js@^0.4.19 fetched in 25ms
396 silly resolveWithNewModule [email protected] checking installable status
397 silly pacote range manifest for which@^1.3.1 fetched in 30ms
398 silly resolveWithNewModule [email protected] checking installable status
399 silly pacote range manifest for wordwrap@^1.0.0 fetched in 29ms
400 silly resolveWithNewModule [email protected] checking installable status
401 silly pacote range manifest for yazl@^2.4.3 fetched in 19ms
402 silly resolveWithNewModule [email protected] checking installable status
403 timing stage:rollbackFailedOptional Completed in 0ms
404 timing stage:runTopLevelLifecycles Completed in 1082ms
405 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...^2.1.0","cli-width":"'
405 verbose stack at JSON.parse (<anonymous>)
405 verbose stack at parseJson (/usr/local/lib/node_modules/npm/node_modules/json-parse-better-errors/index.js:7:17)
405 verbose stack at consumeBody.call.then.buffer (/usr/local/lib/node_modules/npm/node_modules/node-fetch-npm/src/body.js:96:50)
405 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7)
406 verbose cwd /Users/krukow
407 verbose Darwin 17.7.0
408 verbose argv "/usr/local/Cellar/node/10.8.0/bin/node" "/usr/local/bin/npm" "install" "-g" "appcenter-cli"
409 verbose node v10.8.0
410 verbose npm v6.4.1
411 error Unexpected end of JSON input while parsing near '...^2.1.0","cli-width":"'
412 verbose exit [ 1, true ]
from appcenter-cli.
@krukow I can't seem to replicate here. Although it looks like I'm on an older node
version to you (not sure how that would lead to a JSON
parsing error though!)
Looking at the error - it looks like some sort of weird error in the npm
processes. Do you have a different network nearby that you can switch to just in case there's some strange connectivity issue?
from appcenter-cli.
Hey @owenniblock I've reproduced it on several networks today. I've also tried to uninstall appcenter-cli. I'm not a node or npm expert, so I'm not sure how to do a completely clean install which also uninstalls dependencies.
from appcenter-cli.
This suggests maybe an npm cache issue
Suggestion is to try this:
npm cache clean --force
from appcenter-cli.
Yess @krukow 👯♂️ ! Have a good weekend.
from appcenter-cli.
Related Issues (20)
- Can't specify codepush version in codepush promote command HOT 4
- help: using appcenter-cli with devops pipeline, can't use app API-token HOT 5
- Appcenter CLI keeps on showing same no. of deployments event after deleting deployments HOT 1
- zsh: command not found: appcenter HOT 6
- Which signature is used by AppCenter Distribute for AAB distributed to Groups? HOT 5
- Getting "error: ';' expected" all of the sudden when running "appcenter codepush release-react" HOT 2
- The `punycode` module is deprecated in Node.js v21.x HOT 7
- Feature Request: CLI support for webhooks HOT 3
- unable to login appcenter HOT 1
- appcenter distribute release failing with "Error: Bearer token authorization is required" HOT 1
- 3.0.0 breaks adding a release to a distribution on some Node.js versions HOT 7
- 3.0.0 Failure to upload release with API token HOT 4
- List of command changes between versions HOT 3
- The test runner failed to start. The XCUITest-Runner failed to start. HOT 3
- Using appcenter-cli version: 3.0.0 Error: Failed to create release upload for build/app/outputs/flutter-apk/app-blastgolf-release.apk. Backend response: Not found. Correlation ID: 6d547d0e-497e-4231-8aa4-a9ca8641fdf2 HOT 2
- distribute release; should output the ID of the release HOT 2
- appcenter-cli 3.0.0 network issues HOT 3
- appcenter login not working properly on macOS HOT 3
- when using pnpm, codepush step "react-native bundle" fails HOT 5
- Implement Zstandard Compression for Smaller and Faster Updates
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 appcenter-cli.