Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Does not build on Windows 10 #29

Open
LTVA1 opened this issue Apr 27, 2022 · 0 comments
Open

Does not build on Windows 10 #29

LTVA1 opened this issue Apr 27, 2022 · 0 comments

Comments

@LTVA1
Copy link

LTVA1 commented Apr 27, 2022

I downloaded zip2zim into empty foler and ran npm i && npm start. Then it gave me the following error after installing node modules:

> [email protected] start
> npm run build && node_modules/.bin/pm2 reload ecosystem.config.js


> [email protected] build
> ./node_modules/typescript/bin/tsc

"." не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.

Which roughly means "." is not internal or external command, program or package file.

I know very lttle about how node works but looks like it expects some command. After searching I found it in line 8 of package.json:
"build": "./node_modules/typescript/bin/tsc",
I tried to replace it with
"build": "npm run ./node_modules/typescript/bin/tsc",
But then it said that it cannot find the script. Then I tried
"build": "npm run node_modules/typescript/bin/tsc",
But it yet again said that no script there, although the file tsc is in folder (and doesn't have any extension).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant