question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

  • Version (cloudcmd -v): all
  • Node Version node -v: ignore
  • OS (uname -a on Linux): ignore
  • Browser name/version: ignore
  • Used Command Line Parameters: ignore
  • Changed Config: ignore

I use it as a basic package, but the dependencies in it are so chaotic that the resources deployed are too large.

[root@app01 node_modules]# ll|grep babel
drwxr-xr-x 109 root root  4096 1月   6 15:20 @babel
drwxr-xr-x   2 root root  4096 1月   6 15:20 babel-core
drwxr-xr-x   3 root root  4096 1月   6 15:20 babel-plugin-dynamic-import-node
drwxr-xr-x   4 root root  4096 1月   6 15:20 babel-plugin-polyfill-corejs2
drwxr-xr-x   5 root root  4096 1月   6 15:20 babel-plugin-polyfill-corejs3
drwxr-xr-x   4 root root  4096 1月   6 15:20 babel-plugin-polyfill-regenerator
drwxr-xr-x   3 root root  4096 1月   6 15:20 estree-to-babel

@babel/core is used

[root@app01 node_modules]# npm list @babel/core
webfile@1.0.0 /root/oschina/webfile
└─┬ cloudcmd@14.9.3
  └─┬ putout@9.14.2
    └─┬ @putout/engine-loader@2.2.1
      ├── @babel/core@7.16.7
      └─┬ jscodeshift@0.11.0
        └── @babel/core@7.16.7  de

babel-core is used.

[root@app01 node_modules]# npm list babel-core
webfile@1.0.0 /root/oschina/webfile
└─┬ cloudcmd@14.9.3
  └─┬ putout@9.14.2
    └─┬ @putout/engine-loader@2.2.1
      └─┬ jscodeshift@0.11.0
        └── babel-core@7.0.0-bridge.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
xuxihai123commented, Jan 7, 2022

I don’t really need user-defined menu function, but I need to install the whole putout to support it, which sounds too unfriendly.

0reactions
coderaisercommented, Jan 7, 2022

I achieved my goal by copying the source code into the project and removing some code. Of course, it’s ugly.

What kind of code did you removed? How much in size you win?

In addition, I tried user menu on package version 15.9.13 and the latest docker image, and found that this feature is invalid… Maybe I used it improperly.

What exactly didn’t work? Describe steps and errors you find.

Actually every time you renaming a file with F2 key - you are dealing with User Menu 😃, so if it doesn’t work you can rename nothing. User Menu made so people can extend file manager in a way they like. So Cloud Commander was more like a framework.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deployment sizes - IBM
A medium scale deployment typically consists of 10,000 to 50,000 users. A large-scale deployment typically consists of more than 50,000 users and requires...
Read more >
VCSA Installation wizard incorrectly detects "Deployment Size ...
VCSA is on a vSAN Datastore. In the "Select deployment size" page, when you select the "Small" option the Storage size does not...
Read more >
Deployment policies and settings - AWS Elastic Beanstalk
Batch size – The size of the set of instances to deploy in each batch. Choose Percentage to configure a percentage of the...
Read more >
Sizing Charts - Deploy Football
... of all ages must use the correct sized footballs and clothing to improve their footballing skills. Click here to learn about Deploy...
Read more >
deploy | SAP Help Portal
Deploying an application publishes it to SAP BTP. ... If the application is packaged as a WAR file, the size of the unzipped...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found