davidroyer / nuxt2-ssr-firebase

Nuxt2 Universal App with SSR via Firebase Functions and Firebase Hosting
https://nuxt2ssrfire.firebaseapp.com
50 stars 11 forks source link

cp: prod/server/nuxt/dist/: No such file or directory #4

Open simonhrogers opened 5 years ago

simonhrogers commented 5 years ago

Hi there!

Thanks for writing this :-)

I’m getting the following error at the moment:

$ yarn copydist && yarn copystatic
$ cp -R prod/server/nuxt/dist/ prod/client/assets
cp: prod/server/nuxt/dist/: No such file or directory
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Nuxt-SSR-Firebase@0.2.0 build: `yarn build:nuxt && yarn clean && yarn copyassets`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the Nuxt-SSR-Firebase@0.2.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/simon/.npm/_logs/2019-01-10T23_10_22_601Z-debug.log

Do I need to do anything to setup the assets differently?