Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#11399 closed Bug/Something is broken (fixed)

npm (package manager for Node.js) on ossie

Reported by: https://id.mayfirst.org/gripuqam Owned by: https://id.mayfirst.org/jaimev
Priority: Medium Component: Tech
Keywords: nodejs, npm, packages Cc: https://id.mayfirst.org/jamie
Sensitive: no

Description

npm

Whould it be possible to install this Debian package on ossie?

It would help me to keep ckeditor (full version) up to date.

I would use it like:

$ npm install bower
$ node_modules/bower/bin/bower install ckeditor#full/stable
$ ls bower_components/ckeditor/
$ nice -n 127 ionice --class=idle node_modules/bower/bin/bower update

Change History (5)

comment:1 Changed 3 years ago by https://id.mayfirst.org/jaimev

  • Cc https://id.mayfirst.org/jamie added
  • Keywords nodejs npm packages added
  • Owner set to https://id.mayfirst.org/jaimev
  • Status changed from new to assigned

It is possible but the debian packages for node.js, which includes npm are generally regarded as outdated. https://packages.debian.org/jessie/nodejs You should check if that versions suits your needs. Cc'ing jamie here, he may have another suggestion.

comment:2 Changed 3 years ago by https://id.mayfirst.org/gripuqam

I want to use Drupal 7 Wysiwyg https://www.drupal.org/project/wysiwyg with Ckeditor. I used it for years with Tinymce, but I realize Drupal 8 will have Ckeditor so I better use it for Drupal 7 as well.

I want to be sure to get ckeditor in full/stable version as recommended by https://www.drupal.org/node/596966 following http://docs.ckeditor.com/#!/guide/dev_package_managers I have not been able to specify "full/stable" with php composer or npm but the commands I listed worked on my development Debian-Jessie computer, with the Bower tool.

I even don't know if Debian package DebianPackage:ckeditor is the full version; I had a look and it looks different from other ckeditor packages, but it may do the job.

I may use git but I do not know how to tell git to take "full/stable"... I tried:

$ git clone --branch full/stable https://github.com/ckeditor/ckeditor-releases.git

It looks to download the right files, but I do not know how to make an update... I tried:

$ cd ckeditor-releases/
$ git remote update

I am not sure it does what I am expecting, but it may.

Thanks for you warning! It means that at some point I may not be able to update the Bower tool. I checked Bower webpages and I found no specification about Node.js version required. So I understand anytime new code breaking on old Node.js could be accepted.

I will read jamie's suggestion.

Last edited 3 years ago by https://id.mayfirst.org/gripuqam (previous) (diff)

comment:3 Changed 3 years ago by https://id.mayfirst.org/jamie

I think the npm is the package you really want (it seems to depend on nodejs). We do include nodejs in our moshes but not npm. Jaime - maybe you could add npm to the mosh list.

See also #10027 and #9180

comment:4 Changed 3 years ago by https://id.mayfirst.org/jaimev

  • Resolution set to fixed
  • Status changed from assigned to closed

This is done. npm in stalled in ossie now and will be avilable on all mosh's after the next signed release.

comment:5 Changed 3 years ago by https://id.mayfirst.org/gripuqam

Thanks, it works very well!

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.