You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I obfuscated my whole NodeJS project with you Grunt task and when I want to run it I got this syntax error.
SyntaxError: Unexpected identifier
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Data\Private\Innovation\EV\ev-server\dist\client\soap\SoapChargingStationClient.js:1:6037)
at Module._compile (module.js:570:32)
I tried several other options (medium obfuscation, optimal performance...) without success.
Hi, can you provide more detailed error message? Also i will very happy if you send me small project with example of current problem, it help me to reproduce the error.
Since the grunt-contrib-obfuscator's package.json specified "javascript-obfuscator": "^0.8.1", it won't pull the new version of javascript-obfuscator because it's 0.9.x and not 0.8.x, I believe.
Hi,all
I just download the 0.9.3 file, and npm install grunt-contrib-obfuscator, then try to install the new version with “npm install --save-dev javascript-obfuscator”, but got the following errors:
and the attached file is the npm-debug log, can anyone help to check it.
Many thanks!
发件人: <[email protected]> 代表 Tiago Serafim <[email protected]>
答复: javascript-obfuscator/javascript-obfuscator <[email protected]>
日期: 2017年5月3日 星期三 上午3:59
至: javascript-obfuscator/javascript-obfuscator <[email protected]>
抄送: Subscribed <[email protected]>
主题: Re: [javascript-obfuscator/javascript-obfuscator] NodeJS: SyntaxError: Unexpected identifier (#50)
Updated to a new version [email protected].
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Activity
sanex3339 commentedon Apr 29, 2017
Hi, can you provide more detailed error message? Also i will very happy if you send me small project with example of current problem, it help me to reproduce the error.
serge-fabiano commentedon May 1, 2017
Hi,
Find attached the part that fails.
Just rename the 'pdf' to 'zip' :-) - it does not accept ZIP file :( - and unpack it, do 'npm install' + 'grunt' to get the syntax error.
Thanks!
Serge.
src.pdf
sanex3339 commentedon May 2, 2017
Tnx, i'll look at this right now
sanex3339 commentedon May 2, 2017
How i can build dist files? grunt task
grunt.registerTask("build:prod", ["clean", "uglify"]);without["clean", "uglify"]doesn't generatedistfoldersanex3339 commentedon May 2, 2017
It's a bug!
sanex3339 commentedon May 2, 2017
I'll fix it soon as possible (today)
sanex3339 commentedon May 2, 2017
[email protected]out! Please updategrunt-contrib-obfuscatorto3.0.0versionslig commentedon May 2, 2017
Since the
grunt-contrib-obfuscator's package.json specified"javascript-obfuscator": "^0.8.1", it won't pull the new version ofjavascript-obfuscatorbecause it's0.9.xand not0.8.x, I believe.sanex3339 commentedon May 2, 2017
Can you update it?
slig commentedon May 2, 2017
Updated to a new version
[email protected].sanex3339 commentedon May 2, 2017
Thank you!
slig commentedon May 2, 2017
You're welcome. I should've followed the same version number you use on your package. Would've been much easier to understand.
qingweiqm commentedon May 3, 2017
qingweiqm commentedon May 3, 2017
qingweiqm commentedon May 3, 2017
12 remaining items
serge-fabiano commentedon May 7, 2017
And ? :-)
sanex3339 commentedon May 8, 2017
I will look, but not now and not today =( Sorry, but today i haven't time for programming =(
serge-fabiano commentedon May 8, 2017
No problem :-)
sanex3339 commentedon May 11, 2017
I obfuscated both
ChargingStationClient.jsandSoapChargingStationClient.jswithout any problems (CLI with default options)sanex3339 commentedon May 11, 2017
Can you provide another example? In previous example grunt task didn't work at first, i edited
gruntfileto run it.sanex3339 commentedon May 17, 2017
ping
serge-fabiano commentedon May 18, 2017
pong :)
Sorry I'm on holiday and I'm going back soon.
I'll provide you another example.
Cheers!
sanex3339 commentedon May 19, 2017
Ok
sanex3339 commentedon May 31, 2017
ping :)
sanex3339 commentedon Jun 20, 2017
ping
sanex3339 commentedon Jun 28, 2017
Closed due to inactivity. Please, create new ticket if necessary.
lock commentedon Jun 6, 2018
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.