Open josh-bitovi opened 5 years ago
Running donejs start
on version 6.11.0 of node produces the following error:
`(node:52831) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error can-bind: The child of the sticky two-way binding is changing or converting its value when set. Conversions should only be done on the binding parent to preserve synchronization. See https://canjs.com/doc/can-stache-bindings.html#StickyBindings for more about sticky bindings can-bind: The child of the sticky two-way binding is changing or converting its value when set. Conversions should only be done on the binding parent to preserve synchronization. See https://canjs.com/doc/can-stache-bindings.html#StickyBindings for more about sticky bindings index.stache:21: Unable to find key "env.NODE_ENV".
(node:52831) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
Error
at Object.
Note: donejs start
typically used to run in prod... donejs develop
typically used in develop.
NODE_ENV
error:
index.stache:21: Unable to find key "env.NODE_ENV".
🔥 Hot Tip™ 🔥 Edit your comments to use <details>
for
Use --debug
for more info (put this in the docs?)
Edit: the Bitballs onboarding/setup docs
--debug is documented here: https://github.com/donejs/done-serve#--debug
It seems to work despite this.
This may just work on the latest node... if that's the case... this is a docs issue. If that's not the case... split out a new issue to ensure it works on the latest version of node, and follow this issue to update the docs.
This issue is to ensure the docs (README/CONTRIBUTING/SETUP) are up-to-date and easy to follow. We should ensure:
Feel free to paste your env info (versions and such) and error messages in this thread!