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

npm error #29

Closed
Bafomet666 opened this issue Mar 24, 2022 · 2 comments
Closed

npm error #29

Bafomet666 opened this issue Mar 24, 2022 · 2 comments

Comments

@Bafomet666
Copy link

┌─[✗]─[apashe@apashe]─[~/Desktop/telegram-nearby-map-main]
└──╼ $npm start

start
npm run buildParcel && npm run startServer

buildParcel
parcel build ./web-src/index.html --public-url / --dist-dir ./web-build/

🚨 Build failed.

@parcel/optimizer-terser: Unexpected token: punc (()

/home/apashe/Desktop/telegram-nearby-map-main/node_modules/ol/src/proj.js:328:4
327 | */

328 | function (input, opt_output, opt_dimension) {
| ^ Unexpected token: punc (()
329 | const length = input.length;
330 | const dimension = opt_dimension !== undefined ? opt_dimension : 2;

💡 It's likely that Terser doesn't support this syntax yet.

npm ERR! code 1
npm ERR! path /home/apashe/Desktop/telegram-nearby-map-main
npm ERR! command failed
npm ERR! command sh -c parcel build ./web-src/index.html --public-url / --dist-dir ./web-build/

npm ERR! A complete log of this run can be found in:
npm ERR! /home/apashe/.npm/_logs/2022-03-24T23_01_47_824Z-debug.log
npm ERR! code 1
npm ERR! path /home/apashe/Desktop/telegram-nearby-map-main
npm ERR! command failed
npm ERR! command sh -c npm run buildParcel && npm run startServer

npm ERR! A complete log of this run can be found in:
npm ERR! /home/apashe/.npm/_logs/2022-03-24T23_01_47_839Z-debug.log

@DaniilGen
Copy link

Same problem

@tejado
Copy link
Owner

tejado commented Sep 23, 2023

Should be resolved now. Please check!

@tejado tejado closed this as completed Sep 23, 2023
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