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 Start Error #66

Open
gambler2841 opened this issue Jul 13, 2022 · 3 comments
Open

NPM Start Error #66

gambler2841 opened this issue Jul 13, 2022 · 3 comments

Comments

@gambler2841
Copy link

Hi,

I am getting errors while trying to connect to the pool equipment. I have had another Raspberri Pi connected previously,, but it died on me and now I'm starting over with a new Pi. It's been well over a year since I did it last time, so needless to say I'm rusty. Here is the error I'm getting when I run npm start&:

image

Any help would be greatly appreciated!

@tagyoureit
Copy link
Owner

These are Typescript compile errors. This might be one of three things...

  1. You are not on the right version of Node. Run node -v and see what version you are on. v14 is ideal right now.
  2. Did you install the node modules with npm i after you cloned the repo?
  3. You may have some mismatched files somehow.

If you want to see a full set of directions for setting up the Pi you can follow here (there are some extra components installed but the main concept is solid).

You are safe to completely blow away the nodejs-poolController directory and follow steps 3-9 again.

@gambler2841
Copy link
Author

So I started over from steps 3-9 like you suggested. Here's what I got when I tried to install the correct versions of Node-Red and Node.js:

image

My current version of Node is v16.15.0. Should I downgrade to v14?

@tagyoureit
Copy link
Owner

Yes node v14 is best. You also don't need node-red for this app. You can skip any steps related to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants