Skip to content

Expecting value: line 1 column 1 (char 0) #340

Locked Answered by maximedrn
hiqsociety asked this question in Q&A
Discussion options

You must be logged in to vote

First make sure that all files are in the same directory:

opensea-collection-scraper
├── requirements.txt
├── packages.json
├── scraper.py
├── index.js
├── opensea.js
╰── utils.js

[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 (a node_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…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by maximedrn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Documentation Improvements or additions to documentation
3 participants
Converted from issue

This discussion was converted from issue #305 on July 06, 2022 11:19.