Comments (11)
That did the trick. Thanks!
from jscrambler.
Hi @vv001,
That error occurs when you are trying to use a deprecated Jscrambler version. Currently available versions are 5.4, 5.5 (stable) and 5.6 (latest).
You are probably specifying an old version on your jscrambler.json file. Can you check the jscramblerVersion value on that file?
from jscrambler.
i am getting this error and it is not solved even after writing the correct version number in .jscramblerrc file. Please help.
from jscrambler.
i am getting this error and it is not solved even after writing the correct version number in .jscramblerrc file. Please help.
Hi @anishg-cn 👋
Can you show us your .jscramblerrc
file (without the accessKey
, secretKey
, and applicationId
values) and the command you are running?
Also, for this kind of issue, you can contact our Support Team directly by emailing [email protected].
from jscrambler.
{
"keys": {
"accessKey": "",
"secretKey": ""
},
"applicationId": "",
"filesSrc": [
"./build//*.html",
"./build//*.js"
],
"filesDest": "./",
"params": [
{
"name": "whitespaceRemoval"
},
{
"name": "identifiersRenaming",
"options": {
"mode": "SAFEST"
}
},
{
"name": "dotToBracketNotation"
},
{
"name": "deadCodeInjection"
},
{
"name": "stringConcealing"
},
{
"name": "functionReordering"
},
{
"options": {
"freq": 1,
"features": [
"opaqueFunctions"
]
},
"name": "functionOutlining"
},
{
"name": "propertyKeysObfuscation"
},
{
"name": "regexObfuscation"
},
{
"name": "booleanToAnything"
}
],
"areSubscribersOrdered": false,
"useRecommendedOrder": true,
"jscramblerVersion": "6.1"
}
command i am running is the following:
react-scripts build && jscrambler
from jscrambler.
From what I can see you are trying to use an old jscramblerVersion
.
These are the current versions available:
- 7.0 (legacy)
- 7.1 (stable)
- 7.2 (latest)
I recommend that you use version 7.1
and you should be able to create protections again.
from jscrambler.
@joaosamouco but the jscrambler version that is install from npm is of version 6.1.1?
from jscrambler.
Yes @anishg-cn. That is the most recent client version. However, the jscramblerVersion
is a different thing, you can read more about it here.
If "locking" to a specific version is something that you are not interested and you want to use the stable version all the time, you can remove the jscramblerVersion
field for you .jscramblerrc
file.
from jscrambler.
@joaosamouco thanks it works. can you tell me where can I find documentation on all the valid params that I can use?
from jscrambler.
I'm afraid that we don't have the exact documentation you are asking for. I will make sure that we will work on that in the near future.
For now, you can check our CLI Options since these usually have a direct mapping to a config parameter.
from jscrambler.
Hi @anishg-cn ,
We have just added a new page to our Docs with info regarding the Jscrambler Configuration File.
Let me know if that helped.
from jscrambler.
Related Issues (20)
- Security Vulnerability https://npmjs.com/advisories/1774 HOT 1
- Please update your dependencies
- Playground Applications Sources can't be updated - jscrambler-webpack-plugin HOT 1
- Error 401 Unauthorized - Invalid signature, When obfuscating HOT 3
- 95% emitting unnamed compat pluginError: Unexpected Response: socket hang up HOT 1
- Bug: The API fails if the `filesSrc` contains only a single file HOT 3
- is vite compatible? HOT 1
- update dependencies HOT 1
- jscrambler-webpack-plugin accept config file path HOT 2
- Best practices / coding issues to avoid when using JScrambler HOT 1
- Fatal error: [Error: Error: The application you are trying to protect does not have any file to protect] HOT 5
- Required *applicationId* not provided HOT 7
- Don't require babel-polyfill HOT 1
- [RN] Error calling protectAndDownload from metro-plugin HOT 1
- Error: Unexpected Response: utils.isBuffer is not a function at /projectfolder/node_modules/jscrambler/dist/client.js:211:11 HOT 1
- Angular SSR: support
- Error: You have exceeded the number of files in your application HOT 3
- Proxy not working HOT 1
- Error: Unexpected Response: socket hang up HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jscrambler.