Open 956MB opened 5 months ago
@956MB Thank you so much for the issue! We appreciate the contribution!
I just checked and all those repos and packages are set to public visibility. I am not familiar with pnpm
, but we do define the @tektronix
scope in the .npmrc
file in the project root. I'm not sure if pnpm
respects that file.
Just tried npm ci
on my personal laptop and got the same issue. I think you need to set up authentication to use the GitHub npm registry (see https://stackoverflow.com/a/61666885 for more info). You'll just need to create a GitHub PAT to use for that authToken. We do plan to add a better Contributing document in the future.
In my work .npmrc
file, I have something like
//npm.pkg.github.com/:_authToken=GITHUB_PAT
Where GITHUB_PAT
is the literal PAT generated by GitHub.
Yeah I reached the same conclusion and was finally able to get through. I was just about to comment the same thing 👍 👍 A note about having the right env variable with the PAT set would probably be best. Edit: unless it was on me not having an up to date token with permissions... :|
unless it was on me not having an up to date token with permissions...
I think it is on us for not having better developer docs. It's in the works, but I'm glad that you submitted this issue so we would know to state it explicitly!
Internal reference: TSP-663
Pre-check
This project's dependencies currently contains three private repos,
@tektronix/keithley_instrument_libraries
,@tektronix/kic-cli
, and@tektronix/web-help-documents
, making work on the extension impossible.v18.17.1
v9.0.6
e1f6d57
TSP Toolkit Version
0.15.0
TSP Toolkit Develop Version
0.15.0
Steps to Reproduce
tsp-toolkit
git clone https://github.com/956MB/tsp-toolkit.git
)pnpm install
:"@tektronix/web-help-documents": "0.15.0",
frompackage.json
pnpm install
again:"@tektronix/kic-cli": "0.15.1",
frompackage.json
pnpm install
again:"@tektronix/keithley_instrument_libraries": "0.15.0",
frompackage.json
pnpm install
this last time installs fine with no errors, but then obviously we don't have the packages needed forCOMMAND_SETS
andEXECUTABLE
insrc/extension.ts
, and elsewhere:// ├╴E Cannot find module '@tektronix/keithley_instrument_libraries' or its corresponding type declarations. typescript (2307) [5, 29] // ├╴E Cannot find module '@tektronix/kic-cli' or its corresponding type declarations. typescript (2307) [6, 27]