Comments (7)
Hey! Did you run yarn install
in the root directory where package.json
is located? That installs all Node.js dependencies.
from skyward-rest.
Yes, I just did. That error disappeared. There is a new error now, and I dont know why it is there:
from skyward-rest.
To clarify what I've done, here is my code:
I ran npm install skyward-rest
to get rid of the first error, but I don't know what to do about the second error.
from skyward-rest.
Also, I believe that my URL is currently redirecting. What should I do to prevent that?
from skyward-rest.
Looking at this line, I'm guessing it's because you don't have cheerio
installed. That should've been installed when you ran npm install skyward-rest
, but you could manually install using npm install cheerio
. I would try yarn install
again and make sure you're doing it in the root directory of your project, which should take care of all peer dependencies. You could also try using install-peerdeps.
from skyward-rest.
It still isn't working. Here is the terminal error:
There is also a pop up on const skyward=require('skyward-rest')
.
I have also tried npm install (I am using npm instead of yarn, so instead of doing yarn install, I am doing npm install). I have done npm install cheerio
and npm install skyward-rest
. This is still the error, and I can't seem to find a solution. Thanks a lot for helping me by the way, @shrey150 .
from skyward-rest.
Actually, never mind, I got it working. However, a new problem has appeared. How do I get the scrapeHistory to display the course 5-digit number? For the scrapeGradebook, it is required, so I assume that it is stored somewhere, but it just isn't being displayed in the scrapeHistory function. How can I access this?
from skyward-rest.
Related Issues (20)
- Is this ever going to be put on npm? HOT 1
- Faas application HOT 1
- undefined url in referrer ofscrape.js HOT 1
- Score decimal in earned
- * -> null
- Accommodate for missing assignments HOT 1
- Updated Readme & module.exports HOT 1
- scrapeReportCard => scrapeReport.
- Empty courses appear null
- stuGradesGrid not found HOT 5
- unsafe-eval' is not an allowed source of script
- Information missing
- Accessing more information HOT 2
- Handle session expiration and prevent timeouts HOT 1
- Ability to scrape academic history
- Smarter parameters for .scrape()
- Individual assignment `lit`s for semester scrapes
- Scrape `lit` begin and end date HOT 1
- Any plans for future development? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skyward-rest.