-
Notifications
You must be signed in to change notification settings - Fork 1
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
config.web: ValidationError: "assets" is not allowed #12
Comments
This is related to recent changes here: https://github.com/trailsjs/trailpack-hapi, we've changed where you specify assets from config.web.assets to config.main.paths.www. However, you still have to clone and symlink trailpack-hapi because we haven't pushed those changes to npm yet. |
I understand :) I replace by |
Interesting. So once you replaced w/ express, webpack didn't work? There should be no connection. |
No hapi or express it's the same :) webpack doesn't generate anything. I just replace hapi by express to fix |
Oh ok. Give me a minute to try and replicate. |
So my instance is working fine after cloning and symlinking trailpack-hapi. Is the |
static is generated with under log and sockets but all is empty... |
Ho just see this :
Any idea ? Missing dependency ? |
lodash should be a dependency... |
mine looks like this trails > debug: trails event: repl:started
debug: trailpack-webpack: Build Info
Hash: da049cded0d003c4e4bf
Version: webpack 1.13.0
Time: 10078ms
Asset Size Chunks Chunk Names
fonts/Grunt.svg 40.4 kB [emitted]
fonts/devicons.woff 101 kB [emitted]
fonts/fontawesome-webfont.ttf 142 kB [emitted]
fonts/logo.svg 7.71 kB [emitted]
fonts/Auth0.svg 1.12 kB [emitted]
fonts/Bower.svg 6.74 kB [emitted]
fonts/Browserify.svg 16.4 kB [emitted]
fonts/Express.svg 11.6 kB [emitted]
fonts/OpenSansEmoji.ttf 562 kB [emitted]
fonts/Gulp.svg 3.75 kB [emitted]
fonts/Hapi.svg 128 kB [emitted]
fonts/JWT.svg 2.14 kB [emitted]
fonts/Koa.svg 2.06 kB [emitted]
fonts/Passport.svg 768 bytes [emitted]
fonts/Webpack.svg 1.36 kB [emitted]
bundle.js 1.55 MB 0 main |
Can you try cloning/symlinking trailpack-hapi? Want to minimize variables :) |
Ok it's work now ! I remove |
Oh, thank you! I'm still not sure what was wrong though, do you think it was express? |
Nope because I keep it ^^ I think my first Also I see some dependencies that (I think) need to be removed like https://github.com/trailsjs/trailsmix/blob/master/package.json#L46 ?? |
Babel doesn't look happy about lodash
Do you have this too ? |
With Trails integration it's not working, I have this error :
If I remove assets server is started but
static/bundle.js 404 (Not Found)
I check the folder and it's empty :(The text was updated successfully, but these errors were encountered: