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

Error whilst building #388

Open
vubaolinh123 opened this issue Apr 26, 2024 · 2 comments
Open

Error whilst building #388

vubaolinh123 opened this issue Apr 26, 2024 · 2 comments

Comments

@vubaolinh123
Copy link

Whilst running npm run build after npm install, i encounter the following error:

[email protected] build
eslint assets/js/*.js && parcel build assets/html/index.html --dist-dir dist

console: (node:5276) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 25 unpipe listeners added to [WriteStream]. Use emitter.setMaxListeners() to× Build failed.
@parcel/optimizer-terser: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
at readWasm (C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules\terser\node_modules\source-map\lib\read-wasm.js:8:13)
at wasm (C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules\terser\node_modules\source-map\lib\wasm.js:25:16)
at C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules\terser\node_modules\source-map\lib\source-map-consumer.js:264:14
at async SourceMap (C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules\terser\dist\bundle.min.js:18236:20)
at async minify (C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules\terser\dist\bundle.min.js:26555:41)
at async Object.optimize (C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules@parcel\optimizer-terser\lib\TerserOptimizer.js:114:16)
at async PackagerRunner.optimize (C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules@parcel\core\lib\PackagerRunner.js:427:20)
at async PackagerRunner.getBundleResult (C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules@parcel\core\lib\PackagerRunner.js:328:15)
at async PackagerRunner.getBundleInfo (C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules@parcel\core\lib\PackagerRunner.js:318:9)
at async Child.handleRequest (C:\Users\Admin\Desktop\Minetrack-5.6.1\Minetrack-5.6.1\node_modules@parcel\workers\lib\child.js:255:9)

@Ryvex0
Copy link

Ryvex0 commented May 27, 2024

i have the same error but idk how to solve

@Bansku-Dansku
Copy link
Contributor

Its probably some of the packages that are messing up.

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

3 participants