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

npm install doesn't properly install the kle-serial dependency #1

Open
50an6xy06r6n opened this issue Jun 28, 2021 · 6 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@50an6xy06r6n
Copy link
Owner

The first time you run npm install, it may not run the prepublish script inside of kle-serial. This only happens the first time, and even then doesn't always repro. I think this has something to do with the fact that it installs a fork of kle-serial directly from GitHub, and the fact that the prepublish script has been deprecated for a while. I think it might be fixable by converting kle-serial to use a prepare script, but I'm not sure because I can't repro consistently. If anyone has a good fix for this please let me know.

@50an6xy06r6n 50an6xy06r6n added the bug Something isn't working label Jun 29, 2021
@50an6xy06r6n 50an6xy06r6n self-assigned this Jun 29, 2021
@faster-harder-coder
Copy link

Is there a workaround for this? Running npm install twice does not help. I tried with both node v16.4.0 and v14.0.0.

@50an6xy06r6n
Copy link
Owner Author

50an6xy06r6n commented Jun 29, 2021

@faster-harder-coder Did you run npm install inside the kle-serial directory (inside node_modules)? You can also try running npm run build in that directory, which should fix it for sure.

@asommer70
Copy link

On Ubuntu 20.04 doing npm install inside the kle-serial directory worked for me after doing npm install typescript. Just FYI in case it helps anyone.

@djwink1
Copy link

djwink1 commented Aug 30, 2022

Not sure if this if the right section to ask this but are there more detailed or "step by step, start to finish" instructions on how and where to install and run the script for the KLE to SCAD conversion on a windows PC? I'm new to this.

@AndyChiu
Copy link

Not sure if this if the right section to ask this but are there more detailed or "step by step, start to finish" instructions on how and where to install and run the script for the KLE to SCAD conversion on a windows PC? I'm new to this.

Hi, djwink1, in my case,

run cmd:

f:
cd F:\GitHub\hotswap_pcb_generator\script
2022-08-30_081229

npm install
2022-08-30_081504

cd node_modules@ijprest\kle-serial
npm install
2022-08-30_083510

cd ......
2022-08-30_081854

put KLE .json file to this folder:
2022-08-30_083658

and you can read the readme file to continue:
Usage

@djwink1
Copy link

djwink1 commented Sep 12, 2022

Awesome, thanx!!

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

No branches or pull requests

5 participants