[GH-ISSUE #6] lỗi khi chạy nport port -s domain #4

Closed
opened 2026-03-04 01:38:02 +03:00 by kerem · 1 comment
Owner

Originally created by @tiamo405 on GitHub (Jan 15, 2026).
Original GitHub issue: https://github.com/tuanngocptn/nport/issues/6

file:///home/namtp/.nvm/versions/node/v18.20.8/lib/node_modules/nport/node_modules/string-width/index.js:16
const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v;
                              ^

SyntaxError: Invalid regular expression flags
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14)

Node.js v18.20.8

app cần các version từ bn thế bạn

Originally created by @tiamo405 on GitHub (Jan 15, 2026). Original GitHub issue: https://github.com/tuanngocptn/nport/issues/6 ``` file:///home/namtp/.nvm/versions/node/v18.20.8/lib/node_modules/nport/node_modules/string-width/index.js:16 const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v; ^ SyntaxError: Invalid regular expression flags at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14) Node.js v18.20.8 ``` app cần các version từ bn thế bạn
kerem closed this issue 2026-03-04 01:38:03 +03:00
Author
Owner

@tuanngocptn commented on GitHub (Jan 15, 2026):

Hi bác @tiamo405

Yêu cầu node: '>=20' nhé
Sorry bác để em update lại requirement cho Nport bác ạ

Cảm ơn bác đã ủng hộ

<!-- gh-comment-id:3753034527 --> @tuanngocptn commented on GitHub (Jan 15, 2026): Hi bác @tiamo405 Yêu cầu node: '>=20' nhé Sorry bác để em update lại requirement cho Nport bác ạ Cảm ơn bác đã ủng hộ
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nport#4
No description provided.