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

No More Working #67

Open
Arsalkhan22 opened this issue Dec 17, 2024 · 0 comments
Open

No More Working #67

Arsalkhan22 opened this issue Dec 17, 2024 · 0 comments

Comments

@Arsalkhan22
Copy link

This was to much use full project but when i try today to deploy website on netlify it show me error while building Here erro can you guide me dear Faisal Shahzad How to fix this?

3:10:06 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
3:10:05 AM: Netlify Build
3:10:05 AM: ────────────────────────────────────────────────────────────────
3:10:05 AM: ​
3:10:05 AM: ❯ Version
3:10:05 AM: @netlify/build 29.56.1
3:10:05 AM: ​
3:10:05 AM: ❯ Flags
3:10:05 AM: accountId: 67606e193f219a2f59078008
3:10:05 AM: baseRelDir: true
3:10:05 AM: buildId: 6761f69b1a96bf0433f5a247
3:10:05 AM: deployId: 6761f69b1a96bf0433f5a249
3:10:05 AM: ​
3:10:05 AM: ❯ Current directory
3:10:05 AM: /opt/build/repo
3:10:05 AM: ​
3:10:05 AM: ❯ Config file
3:10:05 AM: /opt/build/repo/netlify.toml
3:10:05 AM: ​
3:10:05 AM: ❯ Context
3:10:05 AM: production
3:10:05 AM: ​
3:10:05 AM: build.command from netlify.toml
3:10:05 AM: ────────────────────────────────────────────────────────────────
3:10:05 AM: ​
3:10:05 AM: $ python ss_script.py
3:10:05 AM: Traceback (most recent call last):
3:10:05 AM: File "ss_script.py", line 67, in
3:10:05 AM: ss_zip_obj.create_project(
3:10:05 AM: File "/opt/build/repo/src/staticwordpress/core/workflow.py", line 162, in create_project
3:10:05 AM: self._project.update_ss()
3:10:05 AM: File "/opt/build/repo/src/staticwordpress/core/project.py", line 164, in update_ss
3:10:05 AM: self.src_url + CONFIGS["SIMPLYSTATIC"]["API"],
3:10:05 AM: TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
3:10:05 AM: ​
3:10:05 AM: "build.command" failed
3:10:05 AM: ────────────────────────────────────────────────────────────────
3:10:05 AM: ​
3:10:05 AM: Error message
3:10:05 AM: Command failed with exit code 1: python ss_script.py (https://ntl.fyi/exit-code-1)
3:10:05 AM: ​
3:10:05 AM: Error location
3:10:05 AM: In build.command from netlify.toml:
3:10:05 AM: python ss_script.py
3:10:05 AM: ​
3:10:05 AM: Resolved config
3:10:05 AM: build:
3:10:05 AM: command: python ss_script.py
3:10:05 AM: commandOrigin: config
3:10:05 AM: publish: /opt/build/repo/output
3:10:05 AM: publishOrigin: config
3:10:05 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:10:05 AM: Failing build: Failed to build site
3:10:06 AM: Finished processing build request in 20.56s
Screenshot_151

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

No branches or pull requests

1 participant