Expecting value: line 1 column 1 (char 0) #340
-
I get this error when I run the Collection Scraper: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
First make sure that all files are in the same directory:
Otherwise, this error occurs when a JavaScript module is not installed correctly. Make sure that Node.js and npm are installed, and that you type If you have already done all these steps, try this command: |
Beta Was this translation helpful? Give feedback.
-
I copied the |
Beta Was this translation helpful? Give feedback.
First make sure that all files are in the same directory:
[Errno 2] No such file or directory
means that the file cannot be found in the current directory.Otherwise, this error occurs when a JavaScript module is not installed correctly.
Make sure that Node.js and npm are installed, and that you type
npm install
(anode_modules/
folder should be created with all the required modules in it). If you are on Linux, make sure that Google Chrome and Chromium are installed.If you have already done all these steps, try this command:
node index.js --collection any_collection…