Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 非法代币:&引用;在git bash上运行mongoDB脚本时 尝试使用db.products.insertOne({“\u id”:1,“name”:“pen”,“price”:1.203}) db.products.insertOne({_id:1,n_Node.js_Mongodb_Git Bash - Fatal编程技术网

Node.js 非法代币:&引用;在git bash上运行mongoDB脚本时 尝试使用db.products.insertOne({“\u id”:1,“name”:“pen”,“price”:1.203}) db.products.insertOne({_id:1,n

Node.js 非法代币:&引用;在git bash上运行mongoDB脚本时 尝试使用db.products.insertOne({“\u id”:1,“name”:“pen”,“price”:1.203}) db.products.insertOne({_id:1,n,node.js,mongodb,git-bash,Node.js,Mongodb,Git Bash,非法代币:&引用;在git bash上运行mongoDB脚本时 尝试使用db.products.insertOne({“\u id”:1,“name”:“pen”,“price”:1.203}) db.products.insertOne({_id:1,name:"pen",price:1.203}) uncaught exception: SyntaxError: illegal character : @(shell):1:23

非法代币:&引用;在git bash上运行mongoDB脚本时
尝试使用
db.products.insertOne({“\u id”:1,“name”:“pen”,“price”:1.203})
db.products.insertOne({_id:1,name:"pen",price:1.203})
uncaught exception: SyntaxError: illegal character :
@(shell):1:23