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

Fix webpack 5 error "Can't resolve url" for running npm script "dev:mocked" #287

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DmitriyWebDev
Copy link

Error's screenshot.

webpack-5-error-can-not-resolve-url

@itwaze
Copy link

itwaze commented Nov 18, 2023

@DmitriyWebDev how did you reach this error? on start npm run dev:mocked I don't see any warnings/errors.

import type { ApiDimensions, ApiMessage } from '../../../api/types';
import { MediaViewerOrigin } from '../../../types';

import { ANIMATION_END_DELAY, MESSAGE_CONTENT_SELECTOR } from '../../../config';
import { requestMutation } from '../../../lib/fasterdom/fasterdom';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DmitriyWebDev no changes in that file except organized imports, it's not part of what this PR is trying to solve, from my POV better to undo the changes and leave only relevant part.

@Ajaxy
Copy link
Owner

Ajaxy commented Nov 28, 2023

Can you elaborate on the issue and the fix? Is this problem specific to your particular setup? We have never seen it before.

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

Successfully merging this pull request may close these issues.

3 participants