Jump to content

Generating class map fails


gbkra

Recommended Posts

Hello,

 

according to the documentation https://devdocs.prestashop-project.org/8/scale/optimizations/#3-composer-autoloading-optimizations

I should generate class map after installing new module. However after running

composer dump-autoload --optimize --no-dev --classmap-authoritative

I do get

Composer could not find a composer.json file in /X/public

To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage

Any help on this? Its 1.7.8.8 on nginx. It should be run in specific directory or? THank you in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...