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

docs: Issue in setting up project #1731

Open
ASCE-D opened this issue Sep 14, 2023 · 4 comments
Open

docs: Issue in setting up project #1731

ASCE-D opened this issue Sep 14, 2023 · 4 comments
Labels

Comments

@ASCE-D
Copy link

ASCE-D commented Sep 14, 2023

when i create dev container it shows the following issue
postCreateCommand failed with exit code 1. Skipping any further user-provided commands.
Done. Press any key to close the terminal.
it is due to scripts/generate-event-poster-card.sh file not working

$ yarn sync-docs && yarn generate-repos-info && yarn generate-picked-posts
$ bash ./scripts/generate-event-poster-card.sh && yarn workspace scripts sync-docs
./scripts/generate-event-poster-card.sh: line 2: $'\r': command not found
./scripts/generate-event-poster-card.sh: line 4: $'\r': command not found
./scripts/generate-event-poster-card.sh: line 7: $'\r': command not found

cp: cannot stat '/workspaces/apisix-website/scripts/..'$'\r''/config/event-poster-card.json': No such file or directory
cp: cannot stat '/workspaces/apisix-website/scripts/..'$'\r''/website/src/theme/Footer/event-poster-card.json': No such file or directory
cp: cannot stat '/workspaces/apisix-website/scripts/..'$'\r''/website/src/theme/Footer/*': No such file or directory

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[627908 ms] postCreateCommand failed with exit code 1. 
Skipping any further user-provided commands.

Done. Press any key to close the terminal. 

Project initial setup has issues build commands need to be fixed or documentations are not updated it need to be updated

@yzeng25 yzeng25 transferred this issue from apache/apisix-website Oct 19, 2023
@yzeng25 yzeng25 changed the title Issue in setting up project docs: Issue in setting up project Oct 19, 2023
@kayx23 kayx23 transferred this issue from apache/apisix Nov 24, 2023
@kayx23
Copy link
Member

kayx23 commented Nov 24, 2023

Transferring this issue back as the error message suggests this is about the apisix-website project, dev container

@SkyeYoung
Copy link
Member

I will try to reproduce the problem tomorrow.

@monkeyDluffy6017
Copy link
Contributor

@SkyeYoung any update?

@SkyeYoung
Copy link
Member

@monkeyDluffy6017 I got sick, so I didn't have time last week. Maybe I will have time this weekend.

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

No branches or pull requests

4 participants