Video.js: 'zh-Hant)*.json'' is not recognized as an internal or external command, operable program or batch file.

Created on 12 Dec 2019  路  7Comments  路  Source: videojs/video.js

Description

'zh-Hant)*.json'' is not recognized as an internal or external command,
operable program or batch file.

Steps to reproduce

  1. clone the repository, and move into that directory
  2. run npm install or npm ci to install all necessary packages
  3. run npm start to start the local server

Results

Expected

open http://localhost:9999/sandbox/live.html in a web browser

Actual

Not executed

Error output

'zh-Hant)*.json'' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! video.[email protected] watch:lang: chokidar --initial 'lang/**/!(zh-Hans|zh-Hant)*.json' -c 'npm run build:lang'
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the video.[email protected] watch:lang script.

image

Additional Information

versions

videojs

7.7

browsers

git bash

OSes

Windows 10

plugins

NA

outdated

All 7 comments

馃憢 Thanks for opening your first issue here! 馃憢

If you're reporting a 馃悶 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

Did you run this in cmd.exe or powershell? I assume that command won't work there right now. I would suggest trying out WSL or just disable that command for now.

I tried git bash and power shell. I have found other ways to fulfill my requirement so you might close this issue.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@ajingopi-bridge
Would you please advise how you solve it?

Thank you

@etomProductions I didn't get a solution for this..!!
But you might remove this portion from your package.json and try, not sure though
'lang/**/!(zh-Hans|zh-Hant)*.json'

Thank you @ajingopi-bridge,

In node 14 I remove it as you mention and its work fine., But for me as it is I downgraded to node 10 and its now working without any issue. However,

Thank you so much for the answer.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

victorpfm picture victorpfm  路  4Comments

0xsven picture 0xsven  路  3Comments

d3x7r0 picture d3x7r0  路  4Comments

pblasi picture pblasi  路  3Comments

uikoo9 picture uikoo9  路  4Comments