FoalTS / foal

Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
https://foalts.org/
MIT License
1.88k stars 137 forks source link

foal: not found #1232

Closed francelwebdev closed 9 months ago

francelwebdev commented 9 months 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 9 months 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 9 months ago

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

Thanks