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

Freshly deployed SPAs break #263

Closed
meryllblanchet opened this issue Jun 18, 2020 · 4 comments
Closed

Freshly deployed SPAs break #263

meryllblanchet opened this issue Jun 18, 2020 · 4 comments
Labels
bug

Comments

@meryllblanchet
Copy link
Contributor

meryllblanchet commented Jun 18, 2020

Describe the bug
Freshly created SPAs are crashing an error and do not render properly.

To Reproduce

npm install -g @adobe/aio-cli
aio app init appfolder
Select Web-Assets in the generator
cd appfolder
aio app run OR aio app deploy

Expected behavior
The react-spectrum UI breaks, either with aio app run or aio app deploy, within the Experience Cloud Shell or as standalone deployment.

Screenshots
Screen Shot 2020-06-18 at 15 33 51

Desktop (please complete the following information):

  • OS: MacOS 10.15.5
  • Browser chrome
  • Version 83
@meryllblanchet meryllblanchet added the bug label Jun 18, 2020
@aiojbot
Copy link
Collaborator

aiojbot commented Jun 18, 2020

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-818

@purplecabbage
Copy link
Member

purplecabbage commented Jun 18, 2020

Can you post the output of aio plugins
If you have an linked, or otherwise installed version of the app-plugin, that will be used instead of the core version installed via npm install -g @adobe/aio-cli

@meryllblanchet
Copy link
Contributor Author

meryllblanchet commented Jun 18, 2020

System:
    OS: macOS 10.15.5
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 161.75 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.21.0 - ~/.nvm/versions/node/v10.21.0/bin/node
    Yarn: Not Found
    npm: 6.14.4 - ~/.nvm/versions/node/v10.21.0/bin/npm
  Virtualization:
    Docker: 19.03.8 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli: 3.6.0
  CLI plugins:
    @adobe/aio-cli 3.6.0 (core)
    @adobe/aio-cli-plugin-info 1.0.0 (user)
    @oclif/plugin-plugins 1.8.0 (core)
    @oclif/plugin-help 2.2.3 (core)
    @oclif/plugin-autocomplete 0.2.0 (core)
    @oclif/plugin-not-found 1.2.4 (core)
    @adobe/aio-cli-plugin-console 3.1.0 (core)
    @adobe/aio-cli-plugin-config 2.2.1 (core)
    @oclif/plugin-warn-if-update-available 1.7.0 (core)
    @adobe/aio-cli-plugin-auth 2.2.0 (core)
    @adobe/aio-cli-plugin-certificate 0.2.0 (core)
    @adobe/aio-cli-plugin-app 3.0.1 (core)
    @adobe/aio-cli-plugin-events 1.0.0 (core)
    @adobe/aio-cli-plugin-runtime 1.8.0 (core)

No plugin installed.

@purplecabbage
Copy link
Member

purplecabbage commented Jun 19, 2020

This has been addressed in an update to adobe/generator-aio-app [1] and released to npm as @adobe/generator-aio-app@1.1.5 [2]

The generator is a dependency of a plugin, so this will not be caught by the update checks in aio-cli, in order to get the update you will need to run npm i -g @adobe/aio-cli
If you previously created a Project Firefly app, and are experiencing this issue, you can patch it by making the following updates to package.json dependencies.

"@react-spectrum/form": "3.0.0-rc.3",
"@react-spectrum/layout": "3.0.0-rc.0",
"@react-spectrum/link": "3.0.0-rc.0",
"@react-spectrum/progress": "3.0.0-rc.3",
"@react-spectrum/provider": "3.0.0-rc.3",
"@react-spectrum/textfield": "3.0.0-rc.3",
"@react-spectrum/theme-default": "3.0.0-rc.3"

[1] adobe/generator-aio-app@c6be24e
[2] https://www.npmjs.com/package/@adobe/generator-aio-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug
Projects
None yet
Development

No branches or pull requests

3 participants