Can't resolve original location of error
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, react, rollup, vite
- Lĩnh vực
- build-system, frontend
Hướng nghiên cứu
Tái hiện bản build production trong dự án Vite React được báo cáo, sau đó kiểm tra lỗi xung quanh node_modules/axios/lib/utils.js và rollup-plugin-node-polyfills/polyfills/global.js được tham chiếu. Xác nhận liệu lỗi có thể tái hiện hay không và xác định các điều kiện tạo ra token không mong đợi; phần hoàn tất phải nêu rõ nguyên nhân và cách giải quyết có thể tái hiện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- JavaScript
- Star
- 142
- Fork
- 64
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ionic-team/rollup-plugin-node-polyfills
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
ionic-team/rollup-plugin-node-polyfills#62 · 2 bình luận · 6 reaction ·
-
Feature Request: http2 polyfillĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ionic-team/rollup-plugin-node-polyfills#56 · 11 reaction ·
-
Type Error ImporterĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
node:pathĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
ionic-team/rollup-plugin-node-polyfills#51 · 2 reaction ·
-
<GIT>Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Tất cả issue của ionic-team/rollup-plugin-node-polyfills
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
521xueweihan/HelloGitHub#4073 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
c1overzz/dsh-bili-scroll#79 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
awesome-dsh-plugin/awesome-dsh-plugin#8715 ·
Maintainer thường phản hồi trong vòng 1 ngày