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

Missing modules folder #8

Open
TaylorHokanson opened this issue Jan 28, 2025 · 1 comment
Open

Missing modules folder #8

TaylorHokanson opened this issue Jan 28, 2025 · 1 comment

Comments

@TaylorHokanson
Copy link

The code is throwing an error re modules. In the README you mention making sure to copy the modules folder, but I can't find one in the repo. Am I missing something obvious? Thanks!

@CodyTolene
Copy link
Owner

CodyTolene commented Feb 1, 2025

Make sure you have Node.js (https://nodejs.org/en/download) installed. Then run the following in a terminal at the root of this repository:

npm install

When you run this script Node.js runs the following command from the package.json file, but you can also run it manually:

ts-node setup.ts

This runs the TypeScript file setup.ts (file)

This file specifically reaches out to pull the following zip file, which you can also download manually:

https://github.com/pimoroni/phew/archive/refs/heads/main.zip

Extract the contents from phew-main/phew to this repo's dirctory src/modules/phew. These are the files that need to be copied over, these are 3rd party dependencies that are required to run the Pico-Portal.

Hope that helps!

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