particle-iot / particle-cli

Command Line Interface for Particle Cloud and devices
Apache License 2.0
212 stars 92 forks source link

bug/sc-107005/v3-3-0-cannot-find-platform #625

Closed busticated closed 2 years ago

busticated commented 2 years ago

Description

Fixes Cannot find module './src/lib/platform' discovered after publishing the v3.3.0 update

How to Test

  1. Compile: npm run compile
  2. Temporarily remove uncompiled source file: rm -rf ./src
  3. Run commands using the compiled files: ./dist/index.js --help (using standard command formatting - e.g. ./dist/index.js whoami, etc)
  4. Revert deleted source files: git reset HEAD --hard

Outcome

CLI should work without error targeting the compiled files

Related Issues / Discussions

https://app.shortcut.com/particle/story/107005

Completeness

busticated commented 2 years ago

self-review :shipit: