我正在尝试运行以下批处理命令.该命令已从IDE中提取,因此已确认正在运行.得到下面提到的错误.
我用双引号尝试了一些变化,但它们没有用.即使在powershell上它也有相同的信息.
C:\Program Files\IAR Systems\Embedded Workbench 7.0\430\bin\icc430.exe F:\CP001\source\Meter\Main.c -D Hardware_P20E -D Calibration_code -D _Optical -D _Configuration_TS0382 -o F:\CP001\Temp\C20EO\Obj\ --no_cse --no_unroll --no_inline --no_code_motion --no_tbaa --debug -D__MSP430F425 -e --double=32 --dlib_config C:\Program Files\IAR Systems\Embedded Workbench 7.0\430\lib\dlib\dl430fn.h -Ol --multiplier=16 --segment __data16=DATA16 --segment __data20=DATA20
Run Code Online (Sandbox Code Playgroud)

更新:
尝试使用引号解决方案会以某种方式混淆编译器

当尝试运行npm installJenkins时,我收到此消息。我可以分享很多信息,但我希望看到这一点可以告诉专家眼哪里出了问题。如果您觉得需要我的package.json文件或任何其他信息,请发表评论。
+ npm install
npm WARN `git config --get remote.origin.url` returned wrong result (https://github.com/DaftMonk/grunt-build-control) fatal: failed to stat '.': No such file or directory
npm ERR! git clone https://github.com/DaftMonk/grunt-build-control fatal: Could not change back to 'C:/Windows/system32/config/systemprofile/AppData/Roaming/npm-cache/_git-remotes/https-github-com-DaftMonk-grunt-build-control-7e4d577b': No such file or directory
npm ERR! Error: Command failed: fatal: Could not change back to 'C:/Windows/system32/config/systemprofile/AppData/Roaming/npm-cache/_git-remotes/https-github-com-DaftMonk-grunt-build-control-7e4d577b': No such file or directory
npm ERR!
npm ERR! at ChildProcess.exithandler (child_process.js:648:15)
npm ERR! at ChildProcess.emit (events.js:98:17)
npm ERR! at maybeClose (child_process.js:756:16) …Run Code Online (Sandbox Code Playgroud) 在下面的代码中,查询提供了所有字段。我只想查询_id和serialno。如何去做。
架构图
var DataSchema = new Schema({
serialno: String,
info: String,
active: Boolean,
content: String
});
Run Code Online (Sandbox Code Playgroud)
询问
// Get list of datas
exports.index = function(req, res) {
Data.find(function (err, data) {
if(err) { return handleError(res, err); }
return res.json(200, data);
});
};
Run Code Online (Sandbox Code Playgroud) node.js ×2
batch-file ×1
command-line ×1
iar ×1
jenkins ×1
mongodb ×1
mongoose ×1
msp430 ×1
npm ×1