Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import course scraper in new react app #157

Open
swmorrow opened this issue Jan 24, 2023 · 0 comments
Open

Cannot import course scraper in new react app #157

swmorrow opened this issue Jan 24, 2023 · 0 comments

Comments

@swmorrow
Copy link

Describe the bug
Module not found when importing on a new react app.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new react app
  2. npm install this module in the react app
  3. put import '@vikelabs/uvic-course-scraper' at the top of any .js file
  4. npm start the app
  5. See Module not found: Error: Can't resolve '@vikelabs/uvic-course-scraper' in '/home/swmorrow/course-tree/src'

Expected behavior
The module is imported successfully and the app compiles.

Screenshots
image

Desktop (please complete the following information):

  • OS: Arch Linux x86_64
  • Browser Chromium
  • Version 109.0.5414.74 (Official Build) Arch Linux (64-bit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant