Page 1 of 1

npm error - 'fpdf' Not found

Posted: Sat Sep 16, 2023 3:31 am
by danilo.macri

hi, when I generate the scripts it gives me this error... can you tell me why?
if I regenerate the script it no longer gives the error but if I delete the project folder and regenerate the scripts the error appears.

Running npm install, please wait...
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/fpdf - Not found
npm ERR! 404 
npm ERR! 404  'fpdf@^1.0.0' is not in this registry.

Re: npm error - fpdf - Not found

Posted: Sat Sep 16, 2023 8:05 am
by arbei

The npm error tells you that there is no 'fpdf@^1.0.0' npm packages in their registry, you have wrongly put "fpdf" under your npm Packages.

If you want to add the "fpdf" Composer package to create PDF yourself, you should enter the correct package name "fpdf/fpdf" (see fpdf/fpdf) under Composer Packages.


Re: npm error - 'fpdf' Not found

Posted: Fri Sep 13, 2024 2:16 am
by danilo.macri

hi,
for a few days I have this error npm that can't complete the template update, the program works perfectly. can you tell me why?
it seems that it can't find the package '@phpmaker/smsnotifier@~24.15.0' is not in this registry.


Re: npm error - 'fpdf' Not found

Posted: Fri Sep 13, 2024 8:26 am
by arbei

You may delete C:\Users\<user>\AppData\Roaming\phpmaker2024 and reopen PHPMaker to reset.