-
Notifications
You must be signed in to change notification settings - Fork 199
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
packing expressjs project under arm env seems excluded static files by default, e.g. css style files #82
Comments
That smells like it's an express issue. Not a node-packer issue. |
@Ni-vek thank you for commenting. But original express is correct: |
OK. What's the URL requested and your app structure? |
URL requested is the root url, aka "/" app structure could be fould from bottom of the page: |
I just tried with a fresh generated express skeleton, and it works perfectly for me. |
I cloned this src code and use bin/nodec for compilation: How about yours @Ni-vek ? And can you pls share your compiled binary for me to verify? Thanks. |
I've tried |
Thanks, @Ni-vek , I downloaded and found it is a MacOS binary, though I verified your binary and it did contain css file, it is different platform from mine (ARM Linux). The commands you listed are the same as mine, so my issue is still there... |
is it possible to extract built binary to see if css file is packed in? |
@cnddu have you find any solution?, I have same problem on my platform (ARM). |
@Ni-vek How do I explicitly define folders or files that need to be bundled which are not a part of the dependency tree but are used by the node script? |
I used express-generator to setup an simple express project and tried to pack it. Build process passed and binary files generated as expected, but when running it and verified by browser. The issue is the style css file could not be found from browser and web page style is not correct.
Platform: Ubunto Mate 16.04 on Rasperberry Pi 3B with node.js version 8.6.0
testing express project was generated by this method:
http://expressjs.com/en/starter/generator.html
Thank you
The text was updated successfully, but these errors were encountered: