Skip to content

Error: could not find CMAKE_PROJECT_NAME in Cache #64

Open
@peterotool

Description

@peterotool

Version

0.7.4

Operating System

I am using Ubuntu distribution:

  • Linux tatooine 5.15.0-79-generic #86~20.04.2-Ubuntu SMP Mon Jul 17 23:27:17 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Description

When i execute any of the following commands: yarn build-native or yarn build

I get the following error:

info TOOL Using Unix Makefiles generator.
info CMD BUILD
info RUN [
info RUN 'cmake',
info RUN '--build',
info RUN '/home/jcordero/nudelta/build',
info RUN '--config',
info RUN 'Release'
info RUN ]
Error: could not find CMAKE_PROJECT_NAME in Cache
ERR! OMG Error: Process terminated: 1
ERR! OMG at ChildProcess. (/home/jcordero/nudelta/node_modules/cmake-js/lib/processHelpers.js:32:32)
ERR! OMG at ChildProcess.emit (events.js:400:28)
ERR! OMG at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
Error: Cmake-js exited with a non-zero code
at main (file:///home/jcordero/nudelta/util/build-native.js:24:15)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any clues?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions