Can not build ngtoast

446 Views Asked by At

I'm just trying to run ngtoast, I recently came across, but it gives me an error

no such file or directory 'c:\modules'

I'm trying to run ngtoast like this:

 ngtoast build

what am I doing wrong? Here is my config file:

{ 
    "public": "./public", 
    "modules": "/modules", 
    "output": "./public/modules.js" 
}
1

There are 1 best solutions below

0
On BEST ANSWER

You have mistake in configuration file. modules parameter is RELATIVE url from public folder (see documentation). So it must be "modules": "./modules" instead of "modules": "/modules"