gchq / gchq/CyberChef

Bug report: Install Error on Windows

Open
#1,544 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Describe the bug**

```
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@astronautlabs/amf@0.0.6',
npm WARN EBADENGINE required: { node: '^14' },
npm WARN EBADENGINE current: { node: 'v18.15.0', npm: '9.5.0' }
npm WARN EBADENGINE }

...

> cyberchef@10.4.0 postinstall
> npx grunt exec:fixCryptoApiImports && npx grunt exec:fixSnackbarMarkup

Running "exec:fixCryptoApiImports" (exec) task

Done.
Running "exec:fixSnackbarMarkup" (exec) task
>> The system cannot find the file specified.
>> Exited with code: 1.
>> Error executing child process: Error: Process exited with code 1.
Warning: Task "exec:fixSnackbarMarkup" failed. Use --force to continue.

Aborted due to warnings.
npm ERR! code 3
npm ERR! path D:\code\CyberChef
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c npx grunt exec:fixCryptoApiImports && npx grunt exec:fixSnackbarMarkup

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\epper\AppData\Local\npm-cache\_logs\2023-03-30T21_37_44_442Z-debug-0.log
```

**To Reproduce**
Follow guide: https://github.com/gchq/CyberChef/wiki/Getting-started#installing

See error

**Expected behaviour**
The `npm i` to work

**Desktop (if relevant, please complete the following information):**
- OS: Windows 10
- Git: 2.29.2.windows.3
- Node: 18.15.0
- CyberChef version: 10.4.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.