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

Can't resolve original location of error #52

Open
devsalman247 opened this issue Feb 1, 2023 · 0 comments
Open

Can't resolve original location of error #52

devsalman247 opened this issue Feb 1, 2023 · 0 comments

Comments

@devsalman247
Copy link

I'm trying to build my vite react project for deploy but I'm getting an error :

vite v3.2.5 building for production...
transforming (213) node_modules\bignumber.js\bignumber.mjsError when using sourcemap for reporting an error: Can't resolve original location of error.
✓ 228 modules transformed.
[commonjs--resolver] Unexpected token
file: D:/Github devsalman247/Metadots/Speak'r/speakr/client/node_modules/axios/lib/utils.js:1:73
1: import { default as global } from 'D:/Github devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup-plugin-node-polyfills/polyfills/global.js';
                                                                            ^
2: 
3: 'use strict';
error during build:
Error: Unexpected token
    at error (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
    at Module.error (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:12429:16)
    at Module.tryParse (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:12806:25)
    at Module.setSource (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:12711:24)
    at ModuleLoader.addModuleSource (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:21959:20)

This is not specific to path and it changes if i try to create build again

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

1 participant