search

Home  >  Q&A  >  body text

node.js - vue项目在c盘外,npm run dev 出错,求指点。

天蓬老师天蓬老师2875 days ago673

reply all(3)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 16:26:06

    If you can’t modify and save before, it means you don’t have permission to write to the c drive

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 16:26:06

    Use Administrator account to execute.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 16:26:06

    My node is installed on the c drive, and my settings do not have permission to write to the c drive, so the projects on the c drive cannot be modified.
    No matter which drive the project is on, when node is installed on the c drive, if the project needs to install the package, npm needs to be installed with administrator permissions.
    The project is placed on a drive other than the c drive. The steps to create the project are: enter the upper-level directory where the project is located, and then

    Then you can run it through npm run dev.

    reply
    0
  • Cancelreply