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: incorrect filepath resolution during dynamic import #91

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

hlwen
Copy link
Contributor

@hlwen hlwen commented Aug 14, 2024

Only URLs with a scheme in "file", "data", and "node" are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol "d:".

… default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
Copy link

netlify bot commented Aug 14, 2024

Deploy Preview for vite-plugin-mock-dev-server ready!

Name Link
🔨 Latest commit 2b8f6a2
🔍 Latest deploy log https://app.netlify.com/sites/vite-plugin-mock-dev-server/deploys/66bc716e3cd3590008052004
😎 Deploy Preview https://deploy-preview-91--vite-plugin-mock-dev-server.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pengzhanbo pengzhanbo changed the title Fix: File write and read error when 'package.json' is set to 'type' : 'module' fix: incorrect filepath resolution during dynamic import Aug 14, 2024
@pengzhanbo pengzhanbo merged commit be65433 into pengzhanbo:main Aug 14, 2024
6 of 7 checks passed
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.

2 participants