openneuro
openneuro copied to clipboard
update the npm installer to remove deprecated options
When using the recommended installation of the Node.js based data fetcher, I get the following message from npm.
$ npm install -g @openneuro/cli
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '^8.6.0 || 10 || 12 || 13 || 14' },
npm WARN EBADENGINE current: { node: 'v16.16.0', npm: '8.11.0' }
npm WARN EBADENGINE }
npm WARN deprecated [email protected]: No longer maintained. Use [lru-cache](http://npm.im/lru-cache) version 7.6 or higher, and provide an asynchronous `fetchMethod` option.
npm WARN deprecated [email protected]: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md
added 453 packages, and audited 454 packages in 60s
51 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
I just downloaded node-v16.16.0-linux-x64, so this may be the first time you're seeing them. Just thought you should know.