Module not found: Can't resolve

Open
#13 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, webpack
Domain
build-system

Research direction

Reproduce the two imports from the React project path src/const, comparing the working unpkg.com/lodash/template URL with http://www.api.yenotes.com/it/jsi18n/. Start by tracing the module resolver behavior for these URLs and inspect the project configuration or documented URL-import entry points. Done means identifying whether the second import should work and recording the supported behavior or required project change.

Written by the indexing model from the issue text.

Description

I write
import template from 'https://unpkg.com/lodash/template'
as in example and it works.
And then I write
import * as it from 'http://www.api.yenotes.com/it/jsi18n/';
and it doesn't and I got
Module not found: Can't resolve 'http://www.api.yenotes.com/it/jsi18n' in 'C:\Users\User\Projects\kyivdictionary\dict_api\react\src\const'
I don't know what else to write 'cause there is no more difference

Dominant language
JavaScript
Stars
1.2k
Forks
30
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from egoist/import-http

All issues in egoist/import-http

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.