alpaca-ts icon indicating copy to clipboard operation
alpaca-ts copied to clipboard

Cannot run npm run build with node v17 & npm v8

Open sneilan opened this issue 3 years ago • 1 comments

Description Running npm run build encounters an error when it executes npm i Instead, I get this error

➜  alpaca git:(main) npm run build

> @master-chief/[email protected] build
> npm run clean && npm i && npm run build:mjs && npm run build:cjs && npm run build:esm  && npm run build:browser && npm run build:esm_bundle

> @master-chief/[email protected] clean
> rimraf dist @types

npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm WARN deprecated [email protected]: standard-version is deprecated. If you're a GitHub user, I recommend https://github.com/googleapis/release-please as an alternative.
npm ERR! Cannot read properties of null (reading 'pickAlgorithm')

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/sneilan/.npm/_logs/2022-10-17T13_02_36_313Z-debug-0.log

Expected I expect npm run build to build the application.

Reproduction Use node v17.6.0 & npm v8.11.0.

  1. git clone
  2. npm i

Switching to node v14.20.1 lets the application build normally. This is definitely lower priority because alpaca client is still usable in latest version of node once installed. This is only important for contributors who wish to build the client.

sneilan avatar Oct 17 '22 13:10 sneilan

v7 is on the way, you can track it here #113

117 avatar Apr 06 '23 18:04 117