Particle CLI missing a module

Open
#445 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
cli

Research direction

Start by reproducing the failure with a clean Particle CLI reinstall and the particle setup command. Use the reported safer-buffer error and update timing log as the baseline; done means setup completes without the missing-module error and the update delay is accounted for.

Written by the indexing model from the issue text.

Description

I just did a complete reinstall of the cli and when I run the setup command, I get the following error:

> particle setup
Cannot find module 'safer-buffer'

It is also quite slow.

Output of the log file:

2018/08/20 15:51:44 Time since last update 22.4780137s, update in block
2018/08/20 15:51:44 Time since last update 22.4800103s, update in foreground
2018/08/20 15:51:44 Manifest version 0.3.3-d3120d4, Installed version 0.3.3-d3120d4
2018/08/20 15:51:44 Updating CLI... 
2018/08/20 15:51:46 no plugins to update.
2018/08/20 15:51:46 Time since last update 2.8031286s, update in background
2018/08/20 15:53:15 Time since last update 1m31.5175692s, update in block
2018/08/20 15:53:16 Time since last update 1m32.392035s, update in background
2018/08/20 15:54:36 Time since last update 2m52.3063477s, update in block
2018/08/20 15:54:36 Time since last update 2m52.9048466s, update in background

This is the same issue that I found here: https://community.particle.io/t/particle-cli-errors-out/43545/1

Dominant language
JavaScript
Stars
220
Forks
93
Avg merge
3d 7h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from particle-iot/particle-cli

All issues in particle-iot/particle-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.