Skip to content

Installing a package with libDependencies fail #172

@Tchips46

Description

@Tchips46

Which command is this bug report for?

install/add

Issue description

Steps to reproduce :
install any package containing libDependencies ,

[leoout@samsung-arch nanoforge-app]$ nf install nf/move-control-2d

 Info  NanoForge Installation


Failed to execute command: npm install --save-dev 0@{ 1@" 2@@ 3@n 4@a 5@n 6@o 7@f 8@o 9@r 10@g 11@e 12@- 13@d 14@e 15@v 16@/ 17@i 18@n 19@p 20@u 21@t 22@" 23@: 24@" 25@^ 26@1 27@. 28@0 29@. 30@2 31@" 32@} 0@{ 1@" 2@@ 3@n 4@a 5@n 6@o 7@f 8@o 9@r 10@g 11@e 12@- 13@d 14@e 15@v 16@/ 17@i 18@n 19@p 20@u 21@t 22@" 23@: 24@" 25@^ 26@1 27@. 28@0 29@. 30@2 31@" 32@}

npm error code EINVALIDTAGNAME
npm error Invalid tag name "{" of package "0@{": Tags may not have any characters that encodeURIComponent encodes.
npm error A complete log of this run can be found in: /home/leoout/.npm/_logs/2026-06-09T03_18_52_646Z-debug-0.log

✖ 🙀  Package installation failed!
Try running manually: npm install --save-dev 0@{ 1@" 2@@ 3@n 4@a 5@n 6@o 7@f 8@o 9@r 10@g 11@e 12@- 13@d 14@e 15@v 16@/ 17@i 18@n 19@p 20@u 21@t 22@" 23@: 24@" 25@^ 26@1 27@. 28@0 29@. 30@2 31@" 32@} 0@{ 1@" 2@@ 3@n 4@a 5@n 6@o 7@f 8@o 9@r 10@g 11@e 12@- 13@d 14@e 15@v 16@/ 17@i 18@n 19@p 20@u 21@t 22@" 23@: 24@" 25@^ 26@1 27@. 28@0 29@. 30@2 31@" 32@}
✔ Install Nanoforge Packages

🚀  Installation completed!

Because at upload, the cause is well formated :

Image But after installed from the cli+api, it become an non object string : Image

Versions

  • cli 1.5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcommand:installRelated to install command

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions