sample-vanilla icon indicating copy to clipboard operation
sample-vanilla copied to clipboard

Can't install kdeploy

Open ghost opened this issue 6 years ago • 15 comments

Very underrated OS. It runs stuff I can't run on an Android phone. I would like to build apps for it. However, not everything is working for me and I think it may be a bug.

I can npm install parcel-bundler without issue, but kdeploy will not install. I don't know where the kaiostech namespace is supposed to be, but there doesn't appear to be a kdeploy package in any case. I'm at a loss for how to proceed.

UPDATE: Filipe has made a new kdeploy repo here. Until the npm package is marked as mainline, it is installed like this:

npm install -g @filipe_x3/kdeploy

ghost avatar Aug 15 '19 10:08 ghost

Kdeploy is listed on NPM: https://www.npmjs.com/package/kdeploy

Minor edits to the package.json should make it work.

cloudspeech avatar Sep 18 '19 11:09 cloudspeech

I modified package.json to reflect this. For what it's worth, here's my dev dependencies:

  "devDependencies": {
    "@babel/core": "7.2.0",
    "cssnano": "^4.1.10",
    "kdeploy": ">=0.8.5 <2.0.0",
    "parcel-bundler": "^1.6.1"
  },

Once I install parcel-bundler and kdeploy globally, it can build and launch in the browser without complaining. However, testing on a physical device is required, and I don't feel that I'm getting anywhere until that has been accomplished. You can enter debug mode by dialing *#*#debug#*#* and configure adb using the guide, but even though adb connects and the programs are installed, somehow nothing happens when I try to install using kdeploy.

No point submitting a PR if this basic thing won't happen.

ghost avatar Sep 20 '19 05:09 ghost

@cloudspeech no longer exists.

Losses avatar Oct 19 '19 00:10 Losses

What happened to kdeploy? It's gone from github and npm.

stephanebisson avatar Oct 28 '19 14:10 stephanebisson

Yep, gone. Maybe @johnatandias can give some feedback?

ghost avatar Oct 31 '19 01:10 ghost

Any updates on this?? Its still missing from repo.

chenna-reddy avatar Dec 18 '19 14:12 chenna-reddy

It doesn't look like it's coming back. kdeploy was a wrapper on https://github.com/fabricedesre/b2gclitool, which you can install and use directly.

stephanebisson avatar Dec 18 '19 15:12 stephanebisson

Seems KaiOS is fairly dead then without the use of kdeploy?

metaspartan avatar Mar 08 '20 21:03 metaspartan

For anyone still searching for a possible "solution" for this, I was able to install it by a apparently chinese mirror from NPM, called CNPM.

I don't know what is the purpose of kdeploy, but it's a listed dependency, so I searched and managed to install it.

Even on cnpm, they list this package as missing and eventually it will be deleted from cnpm. But this is what I made for installing it:

  • Host machine is OS X 10.14.6
  • npm 6.14.4
  • Node 14.1.0
  1. First, install cnpm: npm install -g cnpm --registry=https://registry.npm.taobao.org

  2. After installing cnpm, delete any node_modules from the directory project and setup up a new project: cnpm init

  3. After configuring a new project, add the development dependencies (in my case, this items): cnpm install --save-dev kdeploy @babel/core parcel-bundler

All setup, now kdeploy is installed.

Filipe-Souza avatar May 13 '20 00:05 Filipe-Souza

@Filipe-Souza I've written off KaiOS by this point, but since you've successfully installed kdeploy, would you be inclined to mirror it on GitHub before it disappears?

There seems to be a Kubernetes-related project of the same name. In fact, it's a rather common project name on GitHub. In any case, it's sad to see another development ecosystem bite the dust.

ghost avatar May 13 '20 00:05 ghost

@fluffrabbit Sure, I will search a way to do it properly on npm and post here soon.

Also, I'm not a expert on Kubernetes, but this project you linked looks promising, I will look into it for more details.

Filipe-Souza avatar May 27 '20 00:05 Filipe-Souza

A source repo on GitHub would be great for anyone looking for this tool. Presumably it's all scripts.

I only mentioned that project because it shares the name kdeploy. It has nothing to do with this.

On May 26, 2020 6:19:38 PM MDT, Filipe Souza [email protected] wrote:

@fluffrabbit Sure, I will search a way to do it properly on npm and post here soon.

Also, I'm not a expert on Kubernetes, but this project you linked looks promising, I will look into it for more details.

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://u15781542.ct.sendgrid.net/ls/click?upn=AqJ-2F-2ByL3-2BqJfLt-2FcyMbbz3i0EMQ8-2FvoEE-2BcaL-2F1cIGFCOIf-2BLUksa4jwqouDc1Uo3Wzb-2B6yNvGHrxIzFrzPnAdqsuYwzr5nudVgJydTnnv7kz8YGSw1IfUDmRx6W71Cij2Yk_U31jt5HgHBh7k3Grc5s4lxb0dnodF0PqVOdMl9xn5T43ldBcWXGEDdgLfbNKwonT-2FeOaOyNffuBdmvIaaRLbVd-2F-2BNSpbm1EBSb7aslzkJwN80YPLbhULiURjtF38dxsVr9tHjTgyby5RDA8C7QBkkmA4Pj0zvAY1-2FEJ6VIkDEnnfta3U9RWqKMRG2CXEnpGWgI8OKRr0lh5tXdok9QAT-2FFW6dbrhmbmG3I8TaCFrwqfbfgdaRtQ9-2BZUqCqsklDpraYdXd379VBJkBNb3ZAXxAwjLz4qmaPgA-2FTt4Wos7eAE-3D

ghost avatar May 27 '20 00:05 ghost

After some trouble with npm repository, here it is: https://www.npmjs.com/package/@filipe_x3/kdeploy

Filipe-Souza avatar May 27 '20 01:05 Filipe-Souza

@Filipe-Souza You went above and beyond. Until the npm people get wind of this, the way to install it is:

sudo npm install -g @filipe_x3/kdeploy

I am getting some warnings, so there is maintenance to do in the future, but it does install.

npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

I'll keep this issue open for another couple weeks so people can find it.

ghost avatar May 27 '20 01:05 ghost

Apply changes found at https://github.com/kaiostech/sample-react/commit/f143280d5cb8b7c456fb35628fd9cf4a043bcc3b and you should be able to run npm install.

I hate npm already.

marceloalencar avatar Jun 03 '23 20:06 marceloalencar