Skip to content

installing bit-docs in Windows PowerShell fails #18

@cduivis

Description

@cduivis

I'm trying to use the bit-docs-website to get to know the inner workings of bit-docs and experiment with it.
Sadly the npm install command fails:

PS C:\Users\c.duivis\Desktop\bit-docs-website-master> npm install

> [email protected] preinstall C:\Users\c.duivis\Desktop\bit-docs-website-master
> [ -f docs/modules/bit-docs/package.json ] || git submodule update --init

'[' is not recognized as an internal or external command,
operable program or batch file.
fatal: Not a git repository (or any of the parent directories): .git
npm ERR! code ELIFECYCLE
npm ERR! errno 128
npm ERR! [email protected] preinstall: `[ -f docs/modules/bit-docs/package.json ] || git submodule update --init`
npm ERR! Exit status 128
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\c.duivis\AppData\Roaming\npm-cache\_logs\2018-01-31T15_50_17_754Z-debug.log

It looks like the syntax that is used inside the install script is not recognized by PowerShell on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions