enketo-core icon indicating copy to clipboard operation
enketo-core copied to clipboard

Support npm 7

Open magicznyleszek opened this issue 3 years ago • 4 comments

Describe the bug Project doesn't work with npm CLI version 7.x.

To Reproduce

  1. Use npm version 7
  2. run npm install
  3. observe errors due to enketo-transform's libxslt dependency

Browser and OS (please complete the following information):

  • OS: MacOS

magicznyleszek avatar Jun 03 '21 16:06 magicznyleszek

https://github.com/enketo/enketo-transformer/issues/98 is the root issue. https://github.com/enketo/enketo-express/issues/240 is the analog on enketo-express. It's also related to #767.

The likely next steps are to either take over maintenance of libxslt or replace it.

lognaturel avatar Jun 03 '21 17:06 lognaturel

@lognaturel did you already tried 0.10.1 https://github.com/albanm/node-libxslt/commit/e4422b5778fcdad60100e635e68d2e5fdac0abf4 ?

fsmanuel avatar Sep 14 '22 13:09 fsmanuel

I haven't yet, @fsmanuel

lognaturel avatar Sep 16 '22 22:09 lognaturel

I tried to do an npm audit during a brownout for TLS 1.0 and 1.1 deprecation. I thought I might need to upgrade from npm 6 to address it but it looks like I was able to just change my registry setting:

npm set registry=https://registry.npmjs.org/

lognaturel avatar Sep 16 '22 22:09 lognaturel