/bin/sh: tnpm: command not found
[core-error] 运行插件或套件时出现了错误, 未找到 convert-source-map 模块! 正在尝试自动修复...
⠋ content buffer: {"type":"Buffer","data":[]}
✖ Install fail! SyntaxError: Unexpected end of JSON input (file: /Users/sck/.fie/node_modules/_convert-source-map@1.6.0@convert-source-map/package.json)
SyntaxError: Unexpected end of JSON input (file: /Users/sck/.fie/node_modules/_convert-source-map@1.6.0@convert-source-map/package.json)
at JSON.parse ()
at Object.readJSON (/usr/local/lib/node_modules/qap-cli/node_modules/fie-npm/node_modules/npminstall/lib/utils.js:33:17)
at readJSON.next ()
at onFulfilled (/usr/local/lib/node_modules/qap-cli/node_modules/co/index.js:65:19)
at
npminstall version: 3.17.0
npminstall args: /usr/local/bin/node /usr/local/lib/node_modules/qap-cli/node_modules/fie-npm/node_modules/npminstall/bin/install.js convert-source-map --cwd=/Users/sck/.fie --registry=http://registry.npm.taobao.org/ --china --stdio=inherit
[core-error] sorry 自动修复失败, 请手动修复
[core-error] 运行报错, 请在这里反馈问题给 hugohua https://github.com/fieteam/fie/issues/new
Error: Cannot find module 'convert-source-map'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:470:25)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
at Object. (/Users/sck/.fie/node_modules/_babel-core@6.26.3@babel-core/lib/transformation/file/index.js:38:25)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
运行qap debug时,出现如下错误信息:
/bin/sh: tnpm: command not found [core-error] 运行插件或套件时出现了错误, 未找到 convert-source-map 模块! 正在尝试自动修复... ⠋ content buffer: {"type":"Buffer","data":[]} ✖ Install fail! SyntaxError: Unexpected end of JSON input (file: /Users/sck/.fie/node_modules/_convert-source-map@1.6.0@convert-source-map/package.json) SyntaxError: Unexpected end of JSON input (file: /Users/sck/.fie/node_modules/_convert-source-map@1.6.0@convert-source-map/package.json) at JSON.parse ()
at Object.readJSON (/usr/local/lib/node_modules/qap-cli/node_modules/fie-npm/node_modules/npminstall/lib/utils.js:33:17)
at readJSON.next ()
at onFulfilled (/usr/local/lib/node_modules/qap-cli/node_modules/co/index.js:65:19)
at
npminstall version: 3.17.0
npminstall args: /usr/local/bin/node /usr/local/lib/node_modules/qap-cli/node_modules/fie-npm/node_modules/npminstall/bin/install.js convert-source-map --cwd=/Users/sck/.fie --registry=http://registry.npm.taobao.org/ --china --stdio=inherit
[core-error] sorry 自动修复失败, 请手动修复
[core-error] 运行报错, 请在这里反馈问题给 hugohua https://github.com/fieteam/fie/issues/new
Error: Cannot find module 'convert-source-map'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:470:25)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
at Object. (/Users/sck/.fie/node_modules/_babel-core@6.26.3@babel-core/lib/transformation/file/index.js:38:25)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
node版本:9.10.1 qap版本:3.1.15 babel-cli: 6.26.0 fie: v3.1.6