npm error - 'fpdf' Not found

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
danilo.macri
User
Posts: 120

npm error - 'fpdf' Not found

Post 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.

arbei
User
Posts: 9787

Post 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.


danilo.macri
User
Posts: 120

Post 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.


arbei
User
Posts: 9787

Post by arbei »

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


Post Reply