rabix / composer

Visual and code editor for Common Workflow Language
http://rabix.io/
Apache License 2.0
301 stars 72 forks source link

npm run serve // starts the dev server report error #487

Open mmm2006 opened 3 years ago

mmm2006 commented 3 years ago

I download code. After run npm ci, i npm run serve. But it report below error infomation:

ERROR in node_modules/@types/node/events.d.ts(21,46): error TS1005: '=' expected. node_modules/@types/node/events.d.ts(32,36): error TS1005: '=' expected. node_modules/@types/node/events.d.ts(55,50): error TS1005: '=' expected. node_modules/@types/node/repl.d.ts(361,36): error TS1005: '=' expected. node_modules/@types/node/repl.d.ts(367,36): error TS1005: '=' expected. node_modules/@types/node/util.d.ts(24,30): error TS1005: '=' expected. node_modules/@types/node/util.d.ts(119,30): error TS1005: '=' expected. node_modules/@types/node/worker_threads.d.ts(9,29): error TS1005: '=' expected.

webpack: Failed to compile.

I don't know how to resolv it. Anyone can help me. Thanks

My enviroment: windows 10. node version:v12.18.2 typescript version: Version 2.6.2

thansk.

mmm2006 commented 3 years ago

IF i run: npm run compile:electron IT will output:

rimraf electron/dist electron/ng-dist && ./node_modules/.bin/tsc -p electron && node build-scripts/splash-copy.js

'.' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! rabix-composer@1.5.0 compile:electron: rimraf electron/dist electron/ng-dist && ./node_modules/.bin/tsc -p electron && node build-scripts/splash-copy.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the rabix-composer@1.5.0 compile:electron script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ThinkPad\AppData\Roaming\npm-cache_logs\2021-03-01T06_29_57_371Z-debug.log

Thanks