Skip to content

Cannot import course scraper in new react app #157

@swmorrow

Description

@swmorrow

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions