Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Cannot run npm run build with node v17 & npm v8 #109

Open
sneilan opened this issue Oct 17, 2022 · 1 comment
Open

Cannot run npm run build with node v17 & npm v8 #109

sneilan opened this issue Oct 17, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sneilan
Copy link

sneilan commented Oct 17, 2022

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 sneilan added the bug Something isn't working label Oct 17, 2022
@sneilan sneilan changed the title Cannot run npm run build Cannot run npm run build with node v17 & npm v8 Oct 17, 2022
@117 117 linked a pull request Apr 6, 2023 that will close this issue
Closed
@117
Copy link
Contributor

117 commented Apr 6, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants