getappmap / appmap-js

Client libraries for AppMap
49 stars 17 forks source link

Installer error: GET https://registry.npmjs.org/appmap-agent-js - Not found #784

Closed symwell closed 2 years ago

symwell commented 2 years ago

The installer often gives the following error%20and%20customDimensions%5B%22appmap.cli.sessionId%22%5D%20contains%20%2265ced693dd4b1d90eed3a243053f2291dd0e76daaf6be13966d91f964f5a1313%22%7C%20extend%20logLen%3Dstrlen(customDimensions%5B%22appmap.cli.log%22%5D)%2Clog%3DcustomDimensions%5B%22appmap.cli.log%22%5D%7C%20project-reorder%20%20timestamp%2Cname%2Cuser_Id%2ClogLen%2Clog).

Error: An error occurred while running the command: [31mnpx appmap-agent-js init /Users/test/Development/core-network-frontend[39m
The command exited with code [31m1[39m
[31m>  [39mnpm ERR! code E404
[31m>  [39mnpm ERR! 404 Not Found - GET https://registry.npmjs.org/appmap-agent-js - Not found
[31m>  [39mnpm ERR! 404 
[31m>  [39mnpm ERR! 404  'appmap-agent-js@latest' is not in this registry.
[31m>  [39mnpm ERR! 404 
[31m>  [39mnpm ERR! 404 Note that you can also install from a
[31m>  [39mnpm ERR! 404 tarball, folder, http url, or git url.
[31m>  [39m
[31m>  [39mnpm ERR! A complete log of this run can be found in:
[31m>  [39mnpm ERR!     /Users/test/.npm/_logs/2022-10-14T06_24_31_980Z-debug-0.log
    at ChildProcess.<anonymous> (/Users/test/.npm/_npx/3007b677135bbf3c/node_modules/@appland/appmap/built/cmds/agentInstaller/commandRunner.js:100:27)
    at ChildProcess.emit (node:events:513:28)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
https://registry.npmjs.org/appmap-agent-js               doesn't exist.
https://registry.npmjs.org/@appland/appmap-agent-js              exists.

Should probably add an @appland/ prefix to the installation command

appland-release commented 2 years ago

:tada: This issue has been resolved in version @appland/appmap-v3.45.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: