Skip to content
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

Update to nextjs 9 #11

Open
ShintaroNippon opened this issue Jul 9, 2019 · 5 comments
Open

Update to nextjs 9 #11

ShintaroNippon opened this issue Jul 9, 2019 · 5 comments

Comments

@ShintaroNippon
Copy link

ShintaroNippon commented Jul 9, 2019

HI there i ran the command npm i in order to install latest version of next js

but for now i can't run up the app...

did you tried the new version ?

Thanks
Carlos Vieira

npm run dev

> [email protected] dev /home/shintaro/Desktop/projects/github/frontend
> cd app && next

[ wait ]  starting the development server ...
[ info ]  waiting on http://localhost:3000 ...
> Using "webpackDevMiddleware" config function defined in next.config.js.
[ ready ] compiled successfully (ready on http://localhost:3000)
[ wait ]  compiling ...
[ ready ] compiled successfully (ready on http://localhost:3000)
[ event ] build page: /
[ wait ]  compiling ...
				^C
shintaro@shintaro-PC:~/Desktop/projects/github/frontend$ node
node     nodejs   nodemon  
shintaro@shintaro-PC:~/Desktop/projects/github/frontend$ node
node     nodejs   nodemon  
shintaro@shintaro-PC:~/Desktop/projects/github/frontend$ node app.js
> Using "webpackDevMiddleware" config function defined in next.config.js.
[ ready ] compiled successfully
[ wait ]  compiling ...
[ ready ] compiled successfully
[ event ] build page: /
[ wait ]  compiling ...

@MustansirZia
Copy link
Owner

Hi @ShintaroNippon! I don't see any errors in the output above, can I get some more clarity on this? What errors are you facing?

@ShintaroNippon
Copy link
Author

ShintaroNippon commented Jul 10, 2019

Hi there. Thanks for the reply..

The issue os that I cant load the page... On localhost.
It stays stuck where is the last line.

Thanks
Shintaro

@MustansirZia
Copy link
Owner

Hmmm. Might need to dive in to check this.

@ShintaroNippon
Copy link
Author

Pleasev try to use the repositorry on my last issue and try to update please

@ShintaroNippon
Copy link
Author

HI there...
If i make npm run build

npm run build

> [email protected] build /home/shintaro/Desktop/projects/github/frontend
> cd app && next build

it gives this info and I cannot access to localhost

Creating an optimized production build ...

Compiled successfully.

Warning: You have opted-out of Automatic Prerendering due to `getInitialProps` in `pages/_app`.
Read more: https://err.sh/next.js/opt-out-automatic-prerendering

resources:

{ en: { translation: [Object] }, pt: { translation: [Object] } },
lng: 'en' }
Page                         Size     Files  Packages
┌ σ /                        17.7 kB     37        34
├   /_app                    56.5 kB      0        41
├   /_document
├   /_error                  337 B        0        34

σ  (Server)       page will be server rendered (i.e. getInitialProps)
⚡  (Static File)  page was prerendered as static HTML

can you help ? have an idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants