You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah people can do whatever they want with this, so we shouldn't blow up when .env is missing from the local dir.
> shopify hydrogen dev --entry ./server
🏁 Initial build: 479.869ms
🚥 MiniOxygen server started at http://localhost:3000
/Users/joshlarson/src/github.com/Shopify/h2/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
throw ex;
^
[Error: ENOENT: no such file or directory, open '/Users/joshlarson/src/github.com/Shopify/h2/templates/hello-world/.env'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Users/joshlarson/src/github.com/Shopify/h2/templates/hello-world/.env'
}
The text was updated successfully, but these errors were encountered:
* Add package manager to build warning
* Increase the lines shown in check-routes command
* Do not throw in non-git repos
* Do not read .env when missing. Closes#427
* Add readme to templates
* Update templates/demo-store/README.md
Co-authored-by: Matt Seccafien <matt.seccafien@shopify.com>
* Update based on feedback
* Tweak warnings
* Update packages/cli/src/commands/hydrogen/build.ts
Co-authored-by: Josh Larson <jplhomer@gmail.com>
---------
Co-authored-by: Matt Seccafien <matt.seccafien@shopify.com>
Co-authored-by: Josh Larson <jplhomer@gmail.com>
Yeah people can do whatever they want with this, so we shouldn't blow up when
.env
is missing from the local dir.The text was updated successfully, but these errors were encountered: