npm ERR npm ERR! JSON.parse在'... ejs“:” 2.6.1“附近进行解析时,JSON输入意外结束

时间:2018-06-23 18:11:16

标签: node.js npm

我已经删除了nodeJs广告,然后重新安装了它,并且我使用了npm cache clean --force,但是没有工作,我使用了npm set Registry https://registry.npmjs.org/没有任何作用

如果有人之前修复了相同的错误,请帮助我

// ERR

MobileElement element = driver.findElement(MobileBy.AndroidUIAutomator(
        "new UiScrollable(new UiSelector().resourceId(\"com.android.vending:id/tab_recycler_view\")).getChildByText("
        + "new UiSelector().className(\"android.widget.TextView\"), \"Games We Are Playing\")"));

//Perform the action on the element
element.click();

//这是我的package.json文件

npm ERR! file E:\Courses\Express\project\nodeauth\package.json
npm ERR! code EJSONPARSE
npm ERR! JSON.parse Failed to parse json
npm ERR! JSON.parse Unexpected end of JSON input while parsing near '...ejs":"2.6.1"
npm ERR! JSON.parse   }
npm ERR! JSON.parse     '
npm ERR! JSON.parse Failed to parse package.json data.
npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\OmarBaz\AppData\Roaming\npm-cache\_logs\2018-06-23T18_04_08_578Z-debug.log

0 个答案:

没有答案