Closed theocoria closed 10 years ago
Just to give you better context, this happens when I clone my project's frontend repo (which was pushed without the app/components and the node_modules) and attempt to rehydrate the project with npm install and clever setup so that it works again.
?
Hi Richard,
As of the latest version of cleverstack-cli today, clever setup doesn't work anymore. I get the following error:
clever setup Found CleverStack Backend (node-seed) in /home/{PATH}... Found CleverStack Frontend (angular-seed) in /home/{PATH}: 1s ┊
Installing NPM modules for backend... Status @ 3s | Installation Progress: [▒---------] 13 % ┊ Installing: Modules ┊ Step: Installing NPM modules for backend... ┊ Step Time: 1s ┊
module.js:340 throw err; ^ Error: Cannot find module '/home/{PATH}/modules/node_modules/package.json' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at /usr/lib/node_modules/cleverstack-cli/bin/clever-setup:122:70 at Array.forEach (native) at modulesNpmInstall (/usr/lib/node_modules/cleverstack-cli/bin/clever-setup:116:45) at fn (/usr/lib/node_modules/cleverstack-cli/node_modules/async/lib/async.js:641:34) at Object._onImmediate (/usr/lib/node_modules/cleverstack-cli/node_modules/async/lib/async.js:557:34) at processImmediate as _immediateCallback