Fantastic So done the init and the

Fantastic.. So done the init and the install. Guess that updates the json that I need to now put in root of website folder?
16 Replies
Cyb3r-Jak3
Cyb3r-Jak32y ago
Don't worry about package-lock.json that tracks all versions and dependencies. Package.json is the main on you'll edit and yes those stay at the project root level
HelixEvo
HelixEvo2y ago
Great, so now done with my npm install?
Cyb3r-Jak3
Cyb3r-Jak32y ago
You ran npm install @cloudflare/pages-plugin-mailchannels correct? Not just npm install
HelixEvo
HelixEvo2y ago
Yeah
Cyb3r-Jak3
Cyb3r-Jak32y ago
Then yes you are done with installing
HelixEvo
HelixEvo2y ago
Damn. Still fails compile - 23:44:43.180 ✘ [ERROR] Could not resolve "@cloudflare/pages-plugin-mailchannels" Ahh one sec Yeah thought the files were not there but they are
Cyb3r-Jak3
Cyb3r-Jak32y ago
What command are you running to get that error
HelixEvo
HelixEvo2y ago
Its trying to build the site from my github dev branch So once change is pushed.
Cyb3r-Jak3
Cyb3r-Jak32y ago
Can you link your GitHub repo?
HelixEvo
HelixEvo2y ago
Its a private one.. Looking to see if I can share it out
Cyb3r-Jak3
Cyb3r-Jak32y ago
If you can then my username is Cyb3r-Jak3
HelixEvo
HelixEvo2y ago
Add you in
Cyb3r-Jak3
Cyb3r-Jak32y ago
It all looks right. Can you share your pages build configuration?
HelixEvo
HelixEvo2y ago
You mean this?
Cyb3r-Jak3
Cyb3r-Jak32y ago
Try adding npm install for the build command
HelixEvo
HelixEvo2y ago
Oh, that compiled at least! Ohhhhh DUDE! That worked. Thank you sooo much!