我已经尝试了几个小时来安装它,我开始认为这可能是节点模块的问题吗?我尝试使用不同的外壳和WiFi网络更新节点,重新安装节点,更新Bower,在本地和全球安装。
还有其他建议吗?
命令:npm install -G Polymer -CLI
npm ERR! enoent ENOENT: no such file or directory, scandir 'C:UsersmbAppDataRoamingnpm-cache_git-remotesgit-github-com-polymerelements-test-fixture-git-8142662econfig'
npm ERR! enoent ENOENT: no such file or directory, scandir 'C:UsersmbAppDataRoamingnpm-cache_git-remotesgit-github-com-polymerelements-test-fixture-git-8142662econfig'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm verb exit [ -4058, true ]
如果您在Windows PC上,请确保您正在运行控制台(终端)作为管理员。如果使用Mac OS或Linux,则需要使用Sudo运行NPM命令。