I installed parcel-bundler globally. When I run parcel index.html I get the following error.
Server running at http://localhost:1234
馃毃 Cannot read property 'port' of null
at new HMRServer (/Users/scienceonlineed/.config/yarn/global/node_modules/parcel-bundler/lib/HMRServer.js:8:43)
at Bundler.start (/Users/scienceonlineed/.config/yarn/global/node_modules/parcel-bundler/lib/Bundler.js:177:18)
at /Users/scienceonlineed/.config/yarn/global/node_modules/parcel-bundler/lib/Bundler.js:130:15
at next (native)
at step (/Users/scienceonlineed/.config/yarn/global/node_modules/parcel-bundler/lib/Bundler.js:3:191)
at /Users/scienceonlineed/.config/yarn/global/node_modules/parcel-bundler/lib/Bundler.js:3:437
at /Users/scienceonlineed/.config/yarn/global/node_modules/parcel-bundler/lib/Bundler.js:3:99
at Bundler.bundle (/Users/scienceonlineed/.config/yarn/global/node_modules/parcel-bundler/lib/Bundler.js:160:7)
at Bundler.serve (/Users/scienceonlineed/.config/yarn/global/node_modules/parcel-bundler/lib/Bundler.js:615:10)
at Command.bundle (/Users/scienceonlineed/.config/yarn/global/node_modules/parcel-bundler/bin/cli.js:67:13)
Node version: v6.11.5
Mac version: 10.12.5
FROM node:6.11.4
RUN npm install -g parcel-bundler
USER node
WORKDIR /home/node/html
CMD [ "parcel", "index.html" ]
EXPOSE 1234
hmm, could be a node v6 thing... seems to work for me on v8.
@devongovett node 6 being current LTS, you'd probably want to at least add the minimum engines value for so that it's obvious for people that they can't use it. Just 2 cents :-D
@TheLarkInn you mean 8 right?
@devongovett why you offer a babel-ed version of Bundler for 6? Why not only support 8 with only async ?
it should be supported, just a bug. Someone want to look into what the API difference is? :D
Same issue running node v6.8.1 on Mac 10.12.6
the same problem in node version v6.9.5
Should be fixed by bab5ff459efd6452cc947b76de5d6465b5003ddb. Will go out in the next release.
Released in v1.0.2.
Is this fixed? I installed version v1.1.0 and the problem still exists for node version v6.9.5, I then upgraded node to v8.9.0 and it started working as you can see in the picture below.

@danielcaldas What version of Parcel are you using?
I wasn't clear above. I installed parcel v1.1.0.
Whoops sorry that was a dumb question 馃槀
Can you please send a zip file with your setup or post an example repo so I can try to reproduce the issue?

I ran it on a minimal example I made and it worked perfectly (using Node v6.9.5)
Hey @davidnagli sorry for the false alarm was running parcel with a global version (v1.0.1)! Tried with parcel inside node_modules/bin and it's working fine with node v6.9.5! Thanks

yay! Glad you got it to work :)
Most helpful comment
Should be fixed by bab5ff459efd6452cc947b76de5d6465b5003ddb. Will go out in the next release.