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

NHT: Techdebt: onboarding docs/work on new versions of node #340

Open
josh-bitovi opened this issue Jun 24, 2019 · 6 comments
Open

NHT: Techdebt: onboarding docs/work on new versions of node #340

josh-bitovi opened this issue Jun 24, 2019 · 6 comments
Assignees

Comments

@josh-bitovi
Copy link

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:

  • A user can run this app in dev mode in under 5 mins
  • Users know how to initiate deploys (even if someone else does them)
  • Users can debug common problems encountered when setting up the app.

Feel free to paste your env info (versions and such) and error messages in this thread!

@tehfedaykin
Copy link
Contributor

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. (/Users/jenniferwadella/Work/Bitovi/bitballs/public/node_modules/can-zone/lib/zones/timeout.js:34:26)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/Users/jenniferwadella/Work/Bitovi/bitballs/public/node_modules/can-zone/lib/zones/debug.js:3:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
(node:52831) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: stream.push() after EOF
(node:52831) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): Error: stream.push() after EOF`

@josh-bitovi
Copy link
Author

Note: donejs start typically used to run in prod... donejs develop typically used in develop.

  • May solve NODE_ENV error:
    index.stache:21: Unable to find key "env.NODE_ENV".

@josh-bitovi
Copy link
Author

🔥 Hot Tip™ 🔥 Edit your comments to use <details> for

collapsable sections with

lots
of
error
message
lines
here

@josh-bitovi
Copy link
Author

josh-bitovi commented Jun 24, 2019

Use --debug for more info (put this in the docs?)

Edit: the Bitballs onboarding/setup docs

@matthewp
Copy link
Contributor

--debug is documented here: https://github.com/donejs/done-serve#--debug

@josh-bitovi
Copy link
Author

It seems to work despite this.

sticky two-way binding error on `donejs develop` ➜ bitballs git:(master) donejs develop

[email protected] develop /Users/josh/projects/bitovi/bitballs
node index.js --develop

MailDev app running at 0.0.0.0:1080
Node app is running on port 5000
MailDev SMTP Server running at 0.0.0.0:1025
Live-reload server listening on port 8012
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".

Received client connection

@josh-bitovi josh-bitovi changed the title Techdebt: onboarding docs/work on new versions of node NHT: Techdebt: onboarding docs/work on new versions of node Jun 25, 2019
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

3 participants