Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Problem during build step of installation #15

Closed
kadirbeytorun opened this issue Nov 17, 2020 · 1 comment
Closed

Problem during build step of installation #15

kadirbeytorun opened this issue Nov 17, 2020 · 1 comment

Comments

@kadirbeytorun
Copy link

kadirbeytorun commented Nov 17, 2020

When I run npm run build after successfull npm install, this is what I get as error, do you know why this could be happening?

npm run-script build
baidu-pan-downloader@3.3.1 build /home/kadir/Documents/baidu-pan-downloader
npm run clean && react-app-rewired build && node user-script.js > ./dist/bundle.user.js && cat ./build/static/js/main.js >> ./dist/bundle.user.js
baidu-pan-downloader@3.3.1 clean /home/kadir/Documents/baidu-pan-downloader
rimraf build/*
/home/kadir/Documents/baidu-pan-downloader/node_modules/terser-webpack-plugin/node_modules/p-limit/index.js:30
} catch {}
^
SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/kadir/Documents/baidu-pan-downloader/node_modules/terser-webpack-plugin/dist/index.js:26:38)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! baidu-pan-downloader@3.3.1 build: npm run clean && react-app-rewired build && node user-script.js > ./dist/bundle.user.js && cat ./build/static/js/main.js >> ./dist/bundle.user.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the baidu-pan-downloader@3.3.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@dotennin
Copy link
Owner

dotennin commented Jan 7, 2022

This issue has not been processed for a long time. hence close it.

@dotennin dotennin closed this as completed Jan 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants