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

Module parse failed: Unexpected token (1:7) #113

Open
Georgeikani opened this issue Nov 10, 2023 · 2 comments
Open

Module parse failed: Unexpected token (1:7) #113

Georgeikani opened this issue Nov 10, 2023 · 2 comments

Comments

@Georgeikani
Copy link

Georgeikani commented Nov 10, 2023

Uploading Screenshot 2023-11-09 at 20.22.22.png…
./shop/node_modules/esbuild/lib/main.d.ts
Module parse failed: Unexpected token (1:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

export type Platform = 'browser' | 'node' | 'neutral'
| export type Format = 'iife' | 'cjs' | 'esm'
| export type Loader = 'base64' | 'binary' | 'copy' | 'css' | 'dataurl' | 'default' | 'empty' | 'file' | 'js' | 'json' | 'jsx' | 'local-css' | 'text' | 'ts' | 'tsx'

@Georgeikani
Copy link
Author

I did resolved it, my imports were wrong

@Marchusness
Copy link

how did you solve this?

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

2 participants