C:\Users\Administrator\Desktop\miniprogram\mini\meituan>npm install uglify-es
npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by uglify-js
as of v3.13.0
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Administrator\Desktop\miniprogram\mini\meituan\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Administrator\Desktop\miniprogram\mini\meituan\package.json'
npm WARN meituan No description
npm WARN meituan No repository field.
npm WARN meituan No README data
npm WARN meituan No license field.
- uglify-es@3.3.9
updated 1 package and audited 3 packages in 1.543s
found 0 vulnerabilities
C:\Users\Administrator\Desktop\miniprogram\mini\meituan>npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.
See npm help json
for definitive documentation on these fields
and exactly what they do.
Use npm install <pkg>
afterwards to install a package and
save it as a dependency in the package.json file.
Press ^C at any time to quit.
package name: (meituan)
version: (1.0.0)
description:
entry point: (index.js)
test command:
git repository:
keywords:
author:
license: (ISC)
About to write to C:\Users\Administrator\Desktop\miniprogram\mini\meituan\package.json:
{
"name": "meituan",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"uglify-es": "^3.3.9"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
Is this OK? (yes) yes
C:\Users\Administrator\Desktop\miniprogram\mini\meituan>npm install uglify-es
npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by uglify-js
as of v3.13.0
npm WARN meituan@1.0.0 No description
npm WARN meituan@1.0.0 No repository field.
- uglify-es@3.3.9
updated 1 package and audited 3 packages in 1.482s
found 0 vulnerabilities
C:\Users\Administrator\Desktop\miniprogram\mini\meituan>npm install uglify-es -g
npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by uglify-js
as of v3.13.0
C:\Users\Administrator\AppData\Roaming\npm\uglifyjs -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\uglify-es\bin\uglifyjs
- uglify-es@3.3.9
updated 1 package in 1.163s
C:\Users\Administrator\Desktop\miniprogram\mini\meituan>npm install uglify-es -g
npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by uglify-js
as of v3.13.0
C:\Users\Administrator\AppData\Roaming\npm\uglifyjs -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\uglify-es\bin\uglifyjs
- uglify-es@3.3.9
updated 1 package in 1.806s
小程序反编译报错:
Error: Cannot find module 'uglify-es'
Require stack:
- F:\wxappUnpacker-master\wxappUnpacker-master\wuJs.js
- F:\wxappUnpacker-master\wxappUnpacker-master\wuWxapkg.js
[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:
[90m at Function.Module._load (internal/modules/cjs/loader.js:864:27)[39
[90m at Module.require (internal/modules/cjs/loader.js:1044:19)[39m
[90m at require (internal/modules/cjs/helpers.js:77:18)[39m
at Object.<anonymous> (F:\wxappUnpacker-master\wxappUnpacker-master\wuJs.
[90m at Module._compile (internal/modules/cjs/loader.js:1158:30)[39m
[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:117
[90m at Module.load (internal/modules/cjs/loader.js:1002:32)[39m
[90m at Function.Module._load (internal/modules/cjs/loader.js:901:14)[39
[90m at Module.require (internal/modules/cjs/loader.js:1044:19)[39m {
code: [32m'MODULE_NOT_FOUND'[39m,
requireStack: [
[32m'F:\wxappUnpacker-master\wxappUnpacker-master\wuJs.js'[39m,
[32m'F:\wxappUnpacker-master\wxappUnpacker-master\wuWxapkg.js'[39m
]
}