FoalTS / foal

Full-featured Node.js framework 🚀
https://foalts.org/
MIT License
1.9k stars 142 forks source link

foal: not found #1232

Closed francelwebdev closed 1 year ago

francelwebdev commented 1 year ago

Hi @LoicPoullain , In some cloud provider, the packages inside devDependencies are not installed, so I get : foal: not found . You should add the @foal/cli inside dependencies.

LoicPoullain commented 1 year ago

The dependencies property normally only refers to dependencies imported inside the application code. This is why @foal/cli is marked as devDependencies.

I'd rather to keep it that way for this reason. If needed, it's still possible to move it to dependencies after the project is created so as to be supported by Cloud providers. 👍

francelwebdev commented 1 year ago

Hi @LoicPoullain The solution I finally used and which worked is the following:

Thanks