I need to install some library from npm. for example:
meteor npm install @picocss/pico
but I got error like this:
'npm' is not a Meteor command.
how to solve it?
by the way, I tried to install using npm only like this
npm install @picocss/pico
but when I execute meteor command to run the project, I got error like this:
Error: ELOOP: too many symbolic links encountered, stat 'C:\Codes\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue\node_modules\todo-meteor-vue'
We have researched this issue and identified the problem, we added a regression test as well as make this fix available for next Meteor 3.0.4 release. Check out here. This issue seems affecting only in Windows.
I will let you know here when we have at least a beta for testing this.
For the moment the best workaround is to have the specific version of Node expected on Meteor 3 installed (20.x), and use npm install globally. You can use volta as the node manager to hold several versions on your environment.
This issue was fixed in release 3.0.4. Windows had inconsistencies after a minor Node upgrade that affected child process spawn. A specific use case was missing.
Release 3.0.4 is now available. Run meteor update --release 3.0.4 to use it. Let me know if any issues arise. Please consider reinstalling Meteor completely, as these changes involve dev_bundle modifications that may only be effective on clean installations. (npx meteor@latest uninstall and then npx meteor).