Meteor-files: Meteor 1.5 build does not contain Assets directory (images missing)

Created on 14 Jul 2017  路  4Comments  路  Source: veliovgroup/Meteor-Files

I've posted to forums.meteor here:
Meteor forums

After building the meteor app and deploying to the web server, my images are nowhere to be found on the server. When I try to find one of the images that should be there I get no results

find ./ -name Electrical-1.png -print

Do I need to do something in particular to build?

question

Most helpful comment

Well, I found a work-around (unless this is the intended functionality of this library).

I setup the storagePath as a variable in Meteor.settings

  • for local, it's set to ./plans
  • for production, it's set to /home/sid/plans

After copying the build to the server, I then copied the plans directory to /home/sid/ manually.

Seems to work.

All 4 comments

cmj.tar.gz

Here is the meteor project. It works locally, but fails when I build it for deployment

Well, I found a work-around (unless this is the intended functionality of this library).

I setup the storagePath as a variable in Meteor.settings

  • for local, it's set to ./plans
  • for production, it's set to /home/sid/plans

After copying the build to the server, I then copied the plans directory to /home/sid/ manually.

Seems to work.

Hello @sidkdbl07 ,

Sorry for delay, yes this is expected behavior.
You can create /home/sid/plans directory on local (dev) machine, and then hard-code it to storagePath

Closed due to silence at issue owner end.
Feel free to reopen it in case if the issue still persists on your end.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dr-dimitru picture dr-dimitru  路  3Comments

msgfxeg picture msgfxeg  路  3Comments

ck23onGithub picture ck23onGithub  路  3Comments

nayayan picture nayayan  路  3Comments

sabedinia picture sabedinia  路  3Comments