c9 / architect

A simple yet powerful plugin system for large-scale node applications
MIT License
981 stars 129 forks source link

404 Not Found: architect-http-static #69

Open shubhendu-abhishek opened 6 years ago

shubhendu-abhishek commented 6 years ago

npm ERR! code E404 npm ERR! 404 Not Found: architect-http-static@~0.0.1

While doing npm install getting above error

npatel33 commented 5 years ago

Yes, I am facing the same issue. Did you figure it out? I am also having problem with "architect-http". While loading config it says "Module not found!"

arucil commented 5 years ago

Architect-http-static and architect-http modules resides in node_modules already, before running npm install you should delete those two dependencies from package.json and copy the two module folders somewhere to prevent npm from deleting them. After npm install is done, copy back the two modules.

greuze commented 5 years ago

I had the same issue here. You can do as @arucil explains, or "convert" those two modules in local plugins, by moving to plugins folder, removing dependencies from root package.json and updating the path in config.js (i.e.: architect-http-static -> ./plugins/architect-http-static)