Skip to content

Adding Resources and Web instance pages on Brazilian Portuguese #2351

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

Open
wants to merge 8 commits into
base: trunk
Choose a base branch
from

Conversation

fellyph
Copy link
Collaborator

@fellyph fellyph commented Jul 11, 2025

Motivation for the change, related issues

This pull request is part of issue #2306, including the translations for the pages: Resources and Web Instance.

@adamziel
Copy link
Collaborator

It seems like there are some build failures

@adamziel
Copy link
Collaborator

Looking at the CI errors, it says:

  SyntaxError: Expected double-quoted property name in JSON at position 47
      at JSON.parse (<anonymous>)
      at server.bundle.js:23322:1061
      at Array.map (<anonymous>)
      at parseExamples (server.bundle.js:23322:1025)
      at getBlueprintStepDetails (server.bundle.js:23322:512)
      at getStepAPI (server.bundle.js:23313:408)
      at server.bundle.js:23506:16
      at Array.map (<anonymous>)
      at _createMdxContent (server.bundle.js:23505:32)
      at MDXContent (server.bundle.js:23529:8)
  {
  		"step": "runPHP",
  		"code": "<?php require_once 'wordpress/wp-load.php';
  		wp_insert_post(array('post_title' => 'wp-load.php required for WP
  		functionality', 'post_status' => 'publish')); ?>"
  }
  SyntaxError: Bad control character in string literal in JSON at position 76
      at JSON.parse (<anonymous>)
      at server.bundle.js:23322:1061
      at Array.map (<anonymous>)
      at parseExamples (server.bundle.js:23322:1025)
      at getBlueprintStepDetails (server.bundle.js:23322:512)
      at getStepAPI (server.bundle.js:23313:408)
      at server.bundle.js:23506:16
      at Array.map (<anonymous>)
      at _createMdxContent (server.bundle.js:23505:32)
      at MDXContent (server.bundle.js:23529:8)

Which doesn't seem to come from this PR. I wonder if the documentation build job just got triggered for this PR because NX detected a change in the doc package, and it stumbled upon a problem introduced somewhere else.

The issue seems to be in the packages/playground/blueprints/src/lib/steps/run-php.ts file:

CleanShot 2025-07-30 at 01 33 42@2x

Removing the newlines should solve it. It might trigger an eslint error for long comments – it's fine to disable that rule for this comment (via some variant of eslint-disable comments)

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

Successfully merging this pull request may close these issues.

2 participants