We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
- **OS and version used:** MacOS, Sonoma 14.3.1, Intel Processor - **Node.js version:** 21.6.2 - **npm version:** 10.2.4 - **list of installed packages:** $ npm list azure-iot-sdk-node@ /Users/david/development/src/molex/azure-iot-sdk-node ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] └── [email protected] - **cloned repo:** 2020-08-18-228-ga85e2803
I pulled the latest code while working through the Quickstart: Provision a simulated symmetric key device found here: https://learn.microsoft.com/en-us/azure/iot-dps/quick-create-simulated-device-symm-key?pivots=programming-language-nodejs
When I execute the command as described, get an error indicating it can't find a module:
$ node provisioning/device/samples/register_symkey.js node:internal/modules/cjs/loader:1152 throw err; ^ Error: Cannot find module 'azure-iot-device-mqtt' Require stack: - /Users/david/development/src/molex/azure-iot-sdk-node/provisioning/device/samples/register_symkey.js at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15) at Module._load (node:internal/modules/cjs/loader:990:27) at Module.require (node:internal/modules/cjs/loader:1237:19) at require (node:internal/modules/helpers:176:18) at Object.<anonymous> (/Users/david/development/src/molex/azure-iot-sdk-node/provisioning/device/samples/register_symkey.js:6:23) at Module._compile (node:internal/modules/cjs/loader:1378:14) at Module._extensions..js (node:internal/modules/cjs/loader:1437:10) at Module.load (node:internal/modules/cjs/loader:1212:32) at Module._load (node:internal/modules/cjs/loader:1028:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/david/development/src/molex/azure-iot-sdk-node/provisioning/device/samples/register_symkey.js' ] }
The text was updated successfully, but these errors were encountered:
Can you try running npm install from the /provisioning/device/samples/ directory?
npm install
/provisioning/device/samples/
Sorry, something went wrong.
Thanks, but that generated 486 errors. Seems something isn't right with my build env. I'll keep digging.
Closing due to inactivity. Feel free to re-open if needed.
No branches or pull requests
Description of the issue
I pulled the latest code while working through the Quickstart: Provision a simulated symmetric key device found here: https://learn.microsoft.com/en-us/azure/iot-dps/quick-create-simulated-device-symm-key?pivots=programming-language-nodejs
When I execute the command as described, get an error indicating it can't find a module:
The text was updated successfully, but these errors were encountered: