linux - 试图在目录中安装 express mysql 但无法这样做

标签 linux express ubuntu npm

  • 我正在尝试在目录中安装 express mysql。
  • 但我收到错误“抱歉,名称只能包含 URL 友好字符。”
  • 我无法理解我做错了什么。
  • 谢谢!!!
    enter image description here
  • 最佳答案

    我强烈建议您阅读 npm 文档。

  • npm init

    used to set up a new or existing npm package

  • npm install

    installs a package, and any packages that it depends on


  • 如果您正在开始一个新项目,请尝试以下操作

    npm init -y
    npm install --save express mysql
    

    关于linux - 试图在目录中安装 express mysql 但无法这样做,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62229541/

    相关文章:

    javascript - 自定义静态路由不起作用

    amazon-web-services - boto3.exceptions.S3UploadFailedError : An error occurred (AccessDenied) when calling the PutObject operation: Access Denied

    linux - SGE(Sun Grid Engine)设置和调整

    linux - 不使用 -S 选项对 ls -alh 的输出值进行排序

    c - linux和c中两个不同独立程序之间的共享内存页

    linux - 剪切命令的输出

    node.js - Node+Express+NGINX 应用程序返回 localhost 而不是域

    javascript - Expressjs 重新路由

    ubuntu - 使用 start-stop-daemon 的 Solr upstart 脚本

    eclipse - 无法加载tomcat服务器错误