Open ShintaroNippon opened 5 years ago
I could updated to version 9 of next js and run "start": "npm run build && env NODE_ENV=production node app.js", its running ok
but I can't run "dev": " nodemon --ignore app/ app.js",
cant you help please ?
I got this run npm run dev
[nodemon] 1.19.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `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 ...
it stays stuck...
in next.conf.js
I have this:
const compose = require("next-compose");
const withCSS = require("@zeit/next-css");
const withSass = require("@zeit/next-sass");
const withImages = require("next-images");
module.exports = compose([
withCSS,
withSass,
withImages
]);
hi can i help you in solving this problem as i also get same problem in nodemon and dev but i solved that .
Hi there, thanks by the reply...Can you help me further? What can I do to solve it? Thanks Carlos Vieira
hi, can we please give the link of your code as a have to check the scripts in your package.json file or you can try to make changes in that file
okay i will try and get back to you sooner.
will i add babel or you want to only use ES6 ,as such i can try to add without babel also.
Thanks... I have a Babel rio. But is with underscore written Apply your chances and then i check Thanks
okay
https://user-images.githubusercontent.com/44085127/63369997-dd815300-c39e-11e9-874d-6c663652b0e3.png
hi,is this working fine or more need to be changed
even i started with npm dev run its looks the same and please provide me the rights to write in the repo thanks
Hi there. Thanks by the help... What did you changed to start with nodemon ?
Im not sure how can I add permissions !?!?
hi , i added babel cli and bin file with change in the script in the package json
and for collaboration go for the setting and add me on contributors
Thanks I already add permissions, can you apply the changed ? Thanks in advance
hi @ShintaroNippon i pushed the code you can check . thanks
Hi there, sorry if is to much, but i have made changes like you told and after run localhost::3000 I got this
> next-express-bootstrap-boilerplate@0.1.1 dev /home/shintaro/Desktop/projects/github/frontend
> nodemon ./bin/www --exec ./node_modules/.bin/babel-node -e js
[nodemon] 1.19.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `./node_modules/.bin/babel-node ./bin/www`
.env.development development
> Using "webpackDevMiddleware" config function defined in next.config.js.
[ ready ] compiled successfully
[ wait ] compiling ...
[ ready ] compiled successfully
[ event ] build page: /
[ wait ] compiling ...
the app doesn't run in localhost:3000
only with npm run learn it works
thanks Carlos Vieira
Its okay but as shown in the picture of the terminal i started the terminal with "npm start" and its working fine, have you pull the request which i was commited today?
Sorry but I dont see working with npm start, it loads as code before but when oppen localhost:3000
it doesn't show anything...
thnaks
then,you can do one thing make a repo and make me collaborator and i push the code and you make the fresh clone and do npm i and then check whether it is running or not. as there can be some problem in merging the code or i think you didn't accept the push that i made thanks
Hi there I cant start nodemon... Can you check to please my rep in order to verify if something its wrong...?
How about an upgrade to version 9 ? And the pkg?
Any result for your side.
Thanks