boyney123 / boyney123/cloudcatalog

npm run build failing

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
111
Forks
7
PR merge metrics
No merged PRs in 30d

Description

When attempting to build a static distribution on the below Macbook Pro, I am hitting the listed error and the process does not complete.

uname -a
Darwin N61165JWVR 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 18:56:34 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6020 arm64

npm -v
10.5.2

node -v
v20.13.1

```
npm run build

> nglx-cloud-catalog@0.1.0 build
> cloudcatalog build

> @cloudcatalog/core@0.2.0 build
> next build

Linting and checking validity of types .. ⨯ ESLint: Invalid Options: - Unknown options: useEslintrc, extensions - 'extensions' has been removed.
Linting and checking validity of types .Failed to compile.

./src/hooks/CloudCatalog.tsx:12:5
Type error: Cannot find namespace 'JSX'.

10 | }: {
11 | children: ReactNode;
> 12 | }): JSX.Element {
| ^
13 | return {children};
14 | }
15 |
node:internal/errors:984
const err = new Error(message);
^

Error: Command failed: cross-env PROJECT_DIR=/Code/cloud-catalog npm run build
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
at Command. (/Code/cloud-catalog/node_modules/@cloudcatalog/core/bin/cloudcatalog.js:73:5)
at Command.listener (/Code/cloud-catalog/node_modules/commander/index.js:370:29)
at Command.emit (node:events:519:28)
at Command.parseArgs (/Code/cloud-catalog/node_modules/commander/index.js:892:12)
at Command.parse (/Code/cloud-catalog/node_modules/commander/index.js:642:21)
at run (/Code/cloud-catalog/node_modules/@cloudcatalog/core/bin/cloudcatalog.js:131:7) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 19257,
stdout: null,
stderr: null
}

Node.js v20.13.1
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.