0
나는 Node.js에 초보자이며 github에서 google ranking을 다운로드했습니다. 파일을 실행하려고 할 때 example.js, 오류 "모듈을 찾을 수 없습니다 'jscrape'".node.js에서 Google 순위 파일을 실행하는 방법
심지어 jscrape 모듈을 설치하려고했지만 오류가 발생했습니다. 내가 Node.js를 매우 새로운 오전으로 누군가가이 일에 저를 도와주세요 수,
{
"author": "Ben Buckman <[email protected]> (http://newleafdigital.com/)",
"name": "google-ranking",
"description": "Fetch the Google search ranking for a phrase",
"version": "0.0.1",
"homepage": "https://github.com/newleafdigital/nodejs-google-ranking",
"repository": {
"url": "[email protected]:newleafdigital/nodejs-google-ranking.git"
},
"main": "google-ranking.js",
"dependencies": {
"jscrape": "0.0.4",
"async": "~0.1.22"
},
"devDependencies": {},
"optionalDependencies": {},
"engines": {
"node": "*"
}
"scripts": {
"preinstall": "npm install jscrape"
}
}
을 다음과 같이
나는 package.json 파일의 종속성을 발견했다.