prisma-archive / prep

Pre-renders your web app (React, Vue, Angular, ...) into static HTML based on your specified routes enabling SEO for single page applications.
MIT License
373 stars 27 forks source link

Context Issue #28

Open ayushkhanduri opened 3 years ago

ayushkhanduri commented 3 years ago

I generated my build with the context name = books and base

<base href="/books/"/>

below is my configuration

{
    routes: ['/location/bangalore'],
    timeout: 5000,
    dimensions: {
      width: 375,
      height: 812,
    },
    https: false,
    hostname: 'http://localhost/books',
    useragent: 'Prep',
    minify: true,
    concurrency: 4,
    additionalSitemapUrls: [],
  }

Then i run this command

// books contain the index.html 
prep ./books/ ./build  

It retries 10 times and i get the error

ChildProcessError: Command failed: cp -rf "/Users/b0219479/Documents/Acquisition/react-growth-safo-ui/.prep-tmp"/* "/Users/b0219479/Documents/Acquisition/react-growth-safo-ui/build"/