Closed marshallswain closed 8 years ago
I've checked in the done-ssr-middleware and it's reading the package.json correctly, so I'm not sure what's going on.
Run donejs develop.
Sent from my iPhone
On Mar 15, 2016, at 11:57 PM, Marshall Thompson notifications@github.com wrote:
I've checked in the done-ssr-middleware and it's reading the package.json correctly, so I'm not sure what's going on.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
I still get the same error, and now an additional error for the live reload not working:
Bitovis-MacBook-Pro:bitballs Bitovi$ donejs develop
> bitballs@0.3.1 develop /Users/Bitovi/Sites/bitballs
> node index.js --develop
MailDev app running at 0.0.0.0:1080
/Users/Bitovi/Sites/bitballs/public/package.json!npm
Node app is running on port 5000
MailDev SMTP Server running at 0.0.0.0:1025
steal - error loading @config. [TypeError: Error loading "package.json!npm" at file:/Users/Bitovi/Sites/bitballs/public/package.json
Cannot read property 'version' of undefined]
Potentially unhandled rejection [29] Error: Error loading "bitballs/index.stache!done-autorender" at <unknown>
Error loading "done-autorender" at file:/Users/Bitovi/Sites/bitballs/public/done-autorender.js
ENOENT: no such file or directory, open '/Users/Bitovi/Sites/bitballs/public/done-autorender.js'
at Error (native)
/Users/Bitovi/Sites/bitballs/public/node_modules/steal-tools/lib/stream/live.js:29
var port = wss.options.server.address().port;
^
TypeError: Cannot read property 'port' of null
at module.exports (/Users/Bitovi/Sites/bitballs/public/node_modules/steal-tools/lib/stream/live.js:29:41)
at Object.<anonymous> (/Users/Bitovi/Sites/bitballs/public/node_modules/steal-tools/bin/steal:83:2)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:141:18)
at node.js:933:3
Just to rule out the possibility of me having made changes that I forgot about, I tried starting over from scratch, following the instructions in the README.md, but arrived back at the same issue.
cc @matthewp @akagomez
@marshallswain what version of donejs?
Is this master?
Working for me on master with 5.3. I'll try with 5.8.
donejs --version = 0.7.2
I'm trying node 5.7, now.
5.7 worked for curtis
All good for me with 5.8
My node environment is apparently broken. :(
@marshallswain My node environment was giving me issues also, though the symptom was different: https://github.com/donejs/bitballs/issues/129
Thanks @akagomez. I did the same and it works, now. I was using n instead of nvm. I'm having a much better experience with nvm.
I get the following error upon running
donejs start
:I'm running Node 5.8.0.