coolicer
V2EX  ›  问与答

virtualbox 虚拟机运行代码的问题

  •  
  •   coolicer · May 17, 2014 · 2376 views
    This topic created in 4467 days ago, the information mentioned may be changed or developed.
    nodejs在虚拟机中跑,设置了共享文件夹。在windwos下修改,然后代码在虚拟中也同步了,但是就老是报错,比如我删除一个句子,运行时就报错了。但是这一句根本不存在了。
    4 replies    2014-05-17 16:11:40 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       May 17, 2014
    你是用 Vagrant 启动的虚机和共享么?

    另外,可以试试用 supervisor(不是那个 Python 的 supervisor,是 npm 里的那个 supervisor)启动 node.js 程序,这样在你的代码发生改变的时候,就会自动重启。
    coolicer
        2
    coolicer  
    OP
       May 17, 2014
    @Livid 没有用那个。是virtualbox安装上去的
    liaa
        3
    liaa  
       May 17, 2014
    @coolicer 同样遇到这样的状况,暂时无解
    coolicer
        4
    coolicer  
    OP
       May 17, 2014
    @liaa 以前我没遇到。估计是64位才有问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2691 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:08 · PVG 23:08 · LAX 08:08 · JFK 11:08
    ♥ Do have faith in what you're doing.