我正在尝试启动或建立一个电子伪造项目,但我不断收到错误消息:
if constexpr (std::is_same<T,int>::value == true) {
this->_value = val.toInt();
} else if constexpr (std::is_same<T,QString>::value == true) {
this->_value = val.toString();
} else if constexpr (std::is_same<T,double>::value == true){
this->_value = val.toDouble();
}
电子锻造开始npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! secureapp@0.1.0 start:
日志显示出打击,但我不知道问题出在哪里。
npm ERR! Exit status 1
npm ERR! Failed at the secureapp@0.1.0 start script.
电子锻造开始0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'start' ]
2 info using npm@6.12.0
3 info using node@v12.13.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle secureapp@0.1.0~prestart: secureapp@0.1.0
6 info lifecycle secureapp@0.1.0~start: secureapp@0.1.0
7 verbose lifecycle secureapp@0.1.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle secureapp@0.1.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/paul/Desktop/untitled folder/keystore/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/paul/.composer/vendor/bin
9 verbose lifecycle secureapp@0.1.0~start: CWD: /Users/paul/Desktop/untitled folder/keystore
10 silly lifecycle secureapp@0.1.0~start: Args: [ '-c', 'electron-forge start' ]
11 silly lifecycle secureapp@0.1.0~start: Returned: code: 1 signal: null
12 info lifecycle secureapp@0.1.0~start: Failed to exec start script
13 verbose stack Error: secureapp@0.1.0 start:
电子锻造开始
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:210:5)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:210:5)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid secureapp@0.1.0
15 verbose cwd /Users/paul/Desktop/untitled folder/keystore
16 verbose Darwin 18.7.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
18 verbose node v12.13.0
19 verbose npm v6.12.0
20 error code ELIFECYCLE
21 error errno 1
22 error secureapp@0.1.0 start: