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

Does this plugin require npm? #60

Closed
mhoel opened this issue Aug 2, 2022 · 2 comments
Closed

Does this plugin require npm? #60

mhoel opened this issue Aug 2, 2022 · 2 comments

Comments

@mhoel
Copy link

mhoel commented Aug 2, 2022

Does this plugin require NPM to be installed? I managed to build the original version @leosilvadev/avrodoc-plus with just Yarn (without NPM).

$ yarn add @mikaello/avrodoc-plus
yarn add v1.22.4
info No lockfile found.
[1/4] Resolving packages...
warning @mikaello/avrodoc-plus > dustjs-linkedin > chokidar@1.5.2: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @mikaello/avrodoc-plus > less > request@2.40.0: request has been deprecated, see https://github.com/request/request/issues/3142
warning @mikaello/avrodoc-plus > dustjs-linkedin > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @mikaello/avrodoc-plus > less > graceful-fs > natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
warning @mikaello/avrodoc-plus > less > request > node-uuid@1.4.8: Use uuid module instead
warning @mikaello/avrodoc-plus > less > request > hawk@1.1.1: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
warning @mikaello/avrodoc-plus > less > request > hawk > cryptiles@0.2.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning @mikaello/avrodoc-plus > less > request > hawk > sntp@0.2.4: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
warning @mikaello/avrodoc-plus > less > request > hawk > boom@0.4.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning @mikaello/avrodoc-plus > less > request > hawk > cryptiles > boom@0.4.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning @mikaello/avrodoc-plus > less > request > hawk > hoek@0.9.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning @mikaello/avrodoc-plus > less > request > hawk > sntp > hoek@0.9.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning @mikaello/avrodoc-plus > less > request > hawk > boom > hoek@0.9.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning @mikaello/avrodoc-plus > dustjs-linkedin > chokidar > readdirp > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @mikaello/avrodoc-plus > dustjs-linkedin > chokidar > readdirp > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @mikaello/avrodoc-plus > dustjs-linkedin > chokidar > readdirp > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @mikaello/avrodoc-plus > dustjs-linkedin > chokidar > readdirp > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[2/4] Fetching packages...
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
error /tmp/node_modules/esbuild: Command failed.
Exit code: 1
Command: node install.js
Arguments: 
Directory: /tmp/node_modules/esbuild
Output:
Trying to install "esbuild-linux-[64]()" using npm
Failed to install "esbuild-linux-64" using npm: Command failed: npm install --loglevel=error --prefer-offline --no-audit --progress=false esbuild-linux-64@0.11.23
/bin/sh: 1: npm: not found
Trying to download "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.11.23.tgz"
Failed to download "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.11.23.tgz": read ECONNRESET
Install unsuccessful
@mikaello
Copy link
Owner

mikaello commented Aug 2, 2022

Except for the script test:ci this project should not have any dependency on the NPM binary. And I would expect all other clients such as Yarn and pnpm to install avrodoc-plus.

From the error message it looks like it is failing on installing esbuild, what happens if you only install that?

yarn add esbuild

Your error message does look a bit like evanw/esbuild#274

@mhoel
Copy link
Author

mhoel commented Aug 2, 2022

I might have to come back on this. It occurred on a specific dev-ops docker container. I couldn't reproduce it locally, there it built successfully. We currently delay switching from @leosilvadev/avrodoc-plus since it works for now.

Thanks/sorry for your time

@mhoel mhoel closed this as completed Aug 2, 2022
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

2 participants