Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bankai build not generating HTML file #67

Closed
sgrund14 opened this issue Aug 15, 2018 · 1 comment
Closed

bankai build not generating HTML file #67

sgrund14 opened this issue Aug 15, 2018 · 1 comment

Comments

@sgrund14
Copy link

sgrund14 commented Aug 15, 2018

Hello!

I'm using choo for the first time, so I thought create-choo-app was a good place to start. I've built up my project, and all is going smoothly in development. However, when I try to build a production version with npm run build, I'm getting this error: bankai.document: could not find a document for . And then it doesn't produce an index.html file in the dist directory.

The only thing I've changed about the project structure is that I moved all of my code into a src/ directory. So now the structure of the project is:

project/
    assets/
    manifest.json
    ...
    index.js
    src/
        views/
        components/
        ....

So start and build are still pointing at index.js in the root.

Thanks in advance : )

@sgrund14
Copy link
Author

Ah, I've found the source of the problem: my dynamic routes. Seems to be related to choojs/bankai#336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant