h5-editor icon indicating copy to clipboard operation
h5-editor copied to clipboard

运行不起来

Open rendq opened this issue 6 years ago • 3 comments

安装的时候总是提示各种包不正确,能否把node环境版本提供下。

rendq avatar May 27 '18 12:05 rendq

使用 cnpm install --legacy-bundling

Dushusir avatar Nov 26 '18 07:11 Dushusir

使用 cnpm install --legacy-bundling npm run start报错,运行不起来

` No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred. No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.

ERROR Failed to compile with 1 errors 1:56:37 PM

error in /Users/ouken/Documents/前端/编辑器/h5-editor-master/node_modules/@types/node/base.d.ts

(116,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'require' must be of type '(files: string | string[], resolve?: any) => any', but here has type 'NodeRequire'.

Listening at http://localhost:8080

运行环境bogon:h5-editor-master ouken$ cnpm --version [email protected] (/usr/local/lib/node_modules/cnpm/lib/parse_argv.js) [email protected] (/usr/local/lib/node_modules/cnpm/node_modules/npm/lib/npm.js) [email protected] (/usr/local/bin/node) [email protected] (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/index.js) prefix=/usr/local darwin x64 18.5.0 registry=https://registry.npm.taobao.org `

xinnai avatar May 15 '19 06:05 xinnai

没有下文了么

wuhaih avatar May 22 '19 06:05 wuhaih