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
If we revert below changes of upward.yml file then storefront works fine but might break something on upward-js side. assetManifest: ./asset-manifest.json to assetManifest: ./dist/asset-manifest.json
bundles inline: '.' to inline: './dist' inline: './static' to inline: './dist/static' veniaTemplateIncludes: './templates' to veniaTemplateIncludes: './dist/templates'
The text was updated successfully, but these errors were encountered:
dpatil-magento
changed the title
[bug]: Venia storefront not accessible on cloud starter. Cause PR #1499
[bug]: Venia storefront not accessible on cloud starter. Cause PR #1498
Aug 28, 2019
Describe the bug
On accessing venia on storefront getting exception.
Build on commit - 4db08e0 #1498
To Reproduce
Expected behavior
Venia home page should load.
Actual
Fatal error: Uncaught TypeError: file_get_contents() expects parameter 1 to be a valid path, bool given in /app/vendor/magento/upward/src/Resolver/File.php:94 Stack trace: #0 /app/vendor/magento/upward/src/Resolver/File.php(94): file_get_contents(false) #1 /app/vendor/magento/upward/src/DefinitionIterator.php(208): Magento\Upward\Resolver\File->resolve('./asset-manifes...') #2 /app/vendor/magento/upward/src/DefinitionIterator.php(186): Magento\Upward\DefinitionIterator->getFromResolver('assetManifest', './asset-manifes...', Object(Magento\Upward\Resolver\File)) #3 /app/vendor/magento/upward/src/DefinitionIterator.php(99): Magento\Upward\DefinitionIterator->getFromDefinedValue('assetManifest', './asset-manifes...') #4 /app/vendor/magento/upward/src/Resolver/Template.php(60): Magento\Upward\DefinitionIterator->get('assetManifest') #5 /app/vendor/magento/upward/src/DefinitionIterator.php(208): Magento\Upward\Resolver\Template->resolve(Object(Magento\Upward\Definition)) #6 /app/vendor/magento/upward/src/DefinitionIterator.php in /app/vendor/magento/upward/src/Resolver/File.php on line 94
Additional context
upward.yml
file then storefront works fine but might break something on upward-js side.assetManifest: ./asset-manifest.json
toassetManifest: ./dist/asset-manifest.json
bundles
inline: '.'
toinline: './dist'
inline: './static'
toinline: './dist/static'
veniaTemplateIncludes: './templates'
toveniaTemplateIncludes: './dist/templates'
The text was updated successfully, but these errors were encountered: