Closed vukhanhtruong closed 6 years ago
I really want to use your package. Can you help me out?
@vukhanhtruong nodemon is intended for development. After yarn build
, try yarn start
.
Thanks for your reply. It ran into the same issue when I deploy to Now. Any thought?
On Tue, 27 Mar 2018, 12:17 Ryan Lindskog, notifications@github.com wrote:
@vukhanhtruong https://github.com/vukhanhtruong nodemon https://github.com/remy/nodemon is intended for development. After yarn build, try yarn start.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rlindskog/vueniverse/issues/21#issuecomment-376399904, or mute the thread https://github.com/notifications/unsubscribe-auth/AKo6k-8zNPt498PBp1TEr9FyTimMDza9ks5tictvgaJpZM4S6hzh .
I'm going to need some more information to be able to help. Any logs?
In your package.json, you have the command for now-start is "node dist/server/main.js". It is a command that execute on Now. It's not different with the way I do with nodemon. Maybe I get st wrong, please correct me. Thanks.
Sorry, there is no logs.
This is the logs when I run the command now logs my-url.now.sh
03/27 01:19 PM npm install
03/27 01:19 PM ✓ Using "yarn.lock"
03/27 01:19 PM ⧗ Installing 57 main dependencies…
03/27 01:20 PM ✓ Installed 1634 modules [43s]
03/27 01:20 PM npm run build
03/27 01:20 PM
> bitcoin-doug@0.0.1 build /home/nowuser/src
> cross-env NODE_ENV=production run-p build-client build-server
03/27 01:20 PM
> bitcoin-doug@0.0.1 build-client /home/nowuser/src
> nuxt build
03/27 01:20 PM
> bitcoin-doug@0.0.1 build-server /home/nowuser/src
> backpack build
03/27 01:20 PM 2018-03-27T06:20:31.677Z nuxt:build Building...
03/27 01:20 PM 2018-03-27T06:20:31.989Z nuxt: Call build:before hooks (4)
03/27 01:20 PM 2018-03-27T06:20:31.989Z nuxt:pwa Adding icons
03/27 01:20 PM
DONE Compiled successfully in 1502ms06:20:32
03/27 01:20 PM 2018-03-27T06:20:32.920Z nuxt:pwa Adding manifest
03/27 01:20 PM 2018-03-27T06:20:32.922Z nuxt:pwa Adding meta
03/27 01:20 PM 2018-03-27T06:20:32.925Z nuxt:pwa No host specified, skipping og:image
03/27 01:20 PM 2018-03-27T06:20:32.926Z nuxt:pwa Adding workbox
03/27 01:20 PM 2018-03-27T06:20:33.078Z nuxt:build App root: /home/nowuser/src/src/client
03/27 01:20 PM 2018-03-27T06:20:33.078Z nuxt:build Generating /home/nowuser/src/dist/client files...
03/27 01:20 PM 2018-03-27T06:20:33.081Z nuxt:build Generating files...
03/27 01:20 PM 2018-03-27T06:20:33.096Z nuxt:build Generating routes...
03/27 01:20 PM 2018-03-27T06:20:33.125Z nuxt:build Building files...
03/27 01:21 PM
WARNING Compiled with 1 warnings06:21:05
03/27 01:21 PM
warning
asset size limit: The following asset(s) exceed the recommended size limit (300 kB).
This can impact web performance.
Assets:
15.ada104e7f35c93388708.js (434 kB)
03/27 01:21 PM Logs from deployments of your account are rate limited. Please upgrade your plan.
03/27 01:21 PM Hash: b94b55d1149df42eb87e
Version: webpack 3.11.0
Time: 8655ms
Asset Size Chunks Chunk Names
server-bundle.json 198 kB [emitted]
03/27 01:21 PM 2018-03-27T06:21:13.705Z nuxt: Call build:done hooks (2)
03/27 01:21 PM 2018-03-27T06:21:13.728Z nuxt:build Building done
03/27 01:21 PM npm run now-start
03/27 01:21 PM Logs from deployments of your account are rate limited. Please upgrade your plan.
03/27 01:21 PM Server listening on http://0.0.0.0:80
As you see, there is no error.
Hmm, I'll look into this.
I was deploying to Heroku instead. It works correctly. Thanks so much for your support.
Hi,
Firstly, thank you very much for your work. Like I said in the title, after running
yarn build
. I ran the following commandnodemon /dist/server/main.js
Then, open the application on the browser, it's just loading with nothing rendered. Only these routes to theapi
works. Deploying to Now run into the same issue.Please help me out. Thank you very much.