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

Can"t install kdeploy #1

Open
ghost opened this issue Aug 15, 2019 · 15 comments
Open

Can"t install kdeploy #1

ghost opened this issue Aug 15, 2019 · 15 comments

Comments

@ghost
Copy link

ghost commented Aug 15, 2019

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

@cloudspeech
Copy link

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

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

@ghost
Copy link
Author

ghost commented Sep 20, 2019

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.

@Losses
Copy link

Losses commented Oct 19, 2019

@cloudspeech no longer exists.

@stephanebisson
Copy link

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

@ghost
Copy link
Author

ghost commented Oct 31, 2019

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

@chenna-reddy
Copy link

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

@stephanebisson
Copy link

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.

@metaspartan
Copy link

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

@Filipe-Souza
Copy link

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.

@ghost
Copy link
Author

ghost commented May 13, 2020

@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.

@Filipe-Souza
Copy link

@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.

@ghost
Copy link
Author

ghost commented May 27, 2020 via email

@Filipe-Souza
Copy link

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

@ghost
Copy link
Author

ghost commented May 27, 2020

@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.

@marceloalencar
Copy link

Apply changes found at kaiostech/sample-react@f143280 and you should be able to run npm install.

I hate npm already.

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

7 participants