Skip to content
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

Unexpted token '{' realpath in commands.sh #321

Open
shipsywor opened this issue Apr 20, 2021 · 0 comments
Open

Unexpted token '{' realpath in commands.sh #321

shipsywor opened this issue Apr 20, 2021 · 0 comments

Comments

@shipsywor
Copy link

> node ./node_modules/cloudflare-docs-engine/bin/commands.sh bootstrap

D:\docs-engine-example\node_modules\cloudflare-docs-engine\bin\commands.sh:4
realpath() {
           ^

SyntaxError: Unexpected token '{'
    at wrapSafe (internal/modules/cjs/loader.js:979:16)
    at Module._compile (internal/modules/cjs/loader.js:1027:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47

This happens when trying to do npm run bootstrap

OS: Windows 10
CMD: Git bash

How to fix this?

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

No branches or pull requests

1 participant