Building distributable for customization not working
Closed this issue · 1 comments
Describe the bug
Attempting to build a custom solution but login dialog is never shown. The solution provided in https://aws.amazon.com/solutions/implementations/simple-file-manager-for-amazon-efs does work but there are no options for customizations. There is a difference with https://aws.amazon.com/solutions/implementations/simple-file-manager-for-amazon-efs and the version in the mappings is 1.5.0 instead of 1.4.0. Is it possible this repo has not been updated?
Mappings:
Solution:
Data:
ID: "SO0145"
Version: "v1.5.0"
AppRegistryApplicationName: "sfm"
SolutionName: "Simple File Manager for Amazon EFS"
ApplicationType: "AWS-Solutions"
AttributeGroupName: "Solution-Metadata"
SourceCode:
General:
GlobalS3Bucket: "solutions-reference"
RegionalS3Bucket: "solutions"
CodeKeyPrefix: "simple-file-manager-for-amazon-efs/v1.5.0"
TemplateKeyPrefix: "simple-file-manager-for-amazon-efs/v1.5.0"
To Reproduce
Follow steps in https://github.com/aws-solutions/simple-file-manager-for-amazon-efs#building-distributable-for-customization. When browsing to the deployed website the login screen is not shown.
Expected behavior
This should work the same as when deployed using https://aws.amazon.com/solutions/implementations/simple-file-manager-for-amazon-efs/.
Please complete the following information about the solution:
- Version: [e.g. v1.0.4]
To get the version of the solution, you can look at the description of the created CloudFormation stack. If the description does not contain the version information, you can look at the mappings section of the template:
Mappings:
SourceCode:
General:
S3Bucket: "solutions"
KeyPrefix: "simple-file-manager-for-amazon-efs/v1.0.4"
- Region: [e.g. us-east-1]
- Was the solution modified from the version published on this repository?
- If the answer to the previous question was yes, are the changes available on GitHub?
- Have you checked your service quotas for the sevices this solution uses?
- Were there any errors in the CloudWatch Logs?
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.
Hi @psharkey , this is a known bug caused by an update to the aws-amplify-vue
package. The published solution template references a build using a compatible version of aws-amplify-vue
, but rebuilding from Github uses the newest available version (which is causing issues). We should have a fix out in the next release of the Simple File Manager for Amazon EFS. In the meantime, you can follow these steps to workaround the issue:
- Modify the version of the
aws-amplify-vue
package insource/web/package.json
from^2.1.5
to2.1.5
- Delete
source/web/package-lock.json
andsource/web/node_modules
. - Rebuild the project using the steps in the README.
- Deploy a new CloudFormation stack from the newly generated template
Please let me know if this works for you.