Open ssaguiar opened 3 years ago
Try adding the line below to your package.json scripts section and running it with "npm run updatesemanticwin"
"updatesemanticwin": "xcopy .\App\styles\theme.config .\node_modules\semantic-ui-less\theme.config /Y /R && rmdir .\node_modules\semantic-ui-less\site /S /Q && mkdir .\node_modules\semantic-ui-less\site && xcopy .\App\styles\site\. .\node_modules\semantic-ui-less\site /S /Y"
Try adding the line below to your package.json scripts section and running it with "npm run updatesemanticwin"
"updatesemanticwin": "xcopy .\App\styles\theme.config .\node_modules\semantic-ui-less\theme.config /Y /R && rmdir .\node_modules\semantic-ui-less\site /S /Q && mkdir .\nodemodules\semantic-ui-less\site && xcopy .\App\styles\site_. .\node_modules\semantic-ui-less\site /S /Y"
It gives error.
40 error code EJSONPARSE 41 error path C:\Users\AlexanderWayne\Desktop\javascript-obfuscator-ui-master/package.json 42 error JSON.parse Unexpected string in JSON at position 647 while parsing '{ 42 error JSON.parse "name": "javascript-obfuscator-web",' 43 error JSON.parse Failed to parse JSON data. 43 error JSON.parse Note: package.json must be actual JSON, not just JavaScript. 44 verbose exit 1
@sanex3339 can you give a hand of help? Thx anticipated. @sanex3339 P.S Dependencies are old. Project must be updated.
No proper working steps They think all are experts like them.
Even I am spending more than 7 hours on this: VMWARE Linux Ubundu 20.04 server Windows 10 WSL Linux Ubundu 20.04 server Windows 10 Node.js
All are failing with tons of errors
The UI at obfuscator.io IS for non-experts. Use that.
The UI at obfuscator.io IS for non-experts. Use that.
Look at this
If you do believe that there are virus there you shouldn't trust the code on this repo. It's even worse to download and run code on your machine. Either you trust this repo or don't.
The UI at obfuscator.io IS for non-experts. Use that.
How can you close this when it is not completed ? Unfare...
If you do believe that there are virus there you shouldn't trust the code on this repo. It's even worse to download and run code on your machine. Either you trust this repo or don't.
I belive the code 100% from github But we can't trust website and browsers being injejected a lot now a days.
These errors from Windows 10 Powershell:
"updatesemanticwin": "xcopy .\App\styles\theme.config .\node_modules\semantic-ui-less\theme.config /Y /R && rmdir .\node_modules\semantic-ui-less\site /S /Q && mkdir .\nodemodules\semantic-ui-less\site && xcopy .\App\styles\site._ .\node_modules\semantic-ui-less\site /S /Y"
"scripts": { "start": "node server.js", "webpack:dev": "webpack --mode development --config webpack.conf.js --watch --color --progress", "webpack:prod": "NODE_ENV=production webpack --mode production --config webpack.conf.js --progress", "postinstall": "npm run updatesemantic && npm run webpack:prod", "updatesemantic": "cp App/styles/theme.config ./node_modules/semantic-ui-less/theme.config; rm -Rf ./node_modules/semantic-ui-less/site; cp -R App/styles/site ./node_modules/semantic-ui-less/", "updatesemanticwin": "xcopy .\App\styles\theme.config .\node_modules\semantic-ui-less\theme.config /Y /R && rmdir .\node_modules\semantic-ui-less\site /S /Q && mkdir .\nodemodules\semantic-ui-less\site && xcopy .\App\styles\site._ .\node_modules\semantic-ui-less\site /S /Y" },
PS C:\javascript-obfuscator-ui-master> npm run updatesemanticwin npm ERR! code EJSONPARSE npm ERR! path C:\javascript-obfuscator-ui-master/package.json npm ERR! JSON.parse Unexpected token "A" (0x41) in JSON at position 681 while parsing near "...anticwin\": \"xcopy .\\App\\styles\\theme.con..." npm ERR! JSON.parse Failed to parse JSON data. npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
npm ERR! A complete log of this run can be found in: C:\Users\BRAYSUNG\AppData\Local\npm-cache\_logs\2023-04-15T19_58_43_390Z-debug-0.log PS C:\javascript-obfuscator-ui-master>
These errors from Windows 10 WSL Ubuntu 20.04
sudo git clone https://github.com/javascript-obfuscator/javascript-obfuscator-ui.git
cd javascript-obfuscator-ui
sudo npm run updatesemantic
sudo npm run updatesemantic
> javascript-obfuscator-web@4.1.2 updatesemantic /home/abc/javascript-obfuscator-ui
> cp App/styles/theme.config ./node_modules/semantic-ui-less/theme.config; rm -Rf ``./node_modules/semantic-ui-less/site; cp -R App/styles/site ./node_modules/semantic-ui-less/
cp: cannot create regular file './node_modules/semantic-ui-less/theme.config': No such file or directory cp: cannot create directory './node_modules/semantic-ui-less/': No such file or directory npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! javascript-obfuscator-web@4.1.2 updatesemantic: cp App/styles/theme.config ./node_modules/semantic-ui-less/theme.config; rm -Rf ./node_modules/semantic-ui-less/site; cp -R App/styles/site ./node_modules/semantic-ui-less/ npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the javascript-obfuscator-web@4.1.2 updatesemantic script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-04-15T20_07_23_388Z-debug.log
I tried to compile in windows but it won't because it gives error when it try to use the command 'cp'. So it will run only in Linux / MacOS machines?