我正在学校笔记本电脑上使用角度应用程序,并且希望能够在个人笔记本电脑上使用它。我将应用程序推送到一个回购中,并在我的个人笔记本电脑上获得了回购。我下载了所有必备软件,但是当我在个人笔记本电脑上使用时,会出现以下错误:
Could not find module "@angular-devkit/build-angular" from "C:\\my-app".
Error: Could not find module "@angular-devkit/build-angular" from "C:\\my-app".
at Object.resolve (C:\Users\tanne\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\core\node\resolve.js:141:11)
at Observable.rxjs_1.Observable [as _subscribe] (C:\Users\tanne\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\architect\src\architect-legacy.js:153:40)
at Observable._trySubscribe (C:\Users\tanne\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:44:25)
at Observable.subscribe (C:\Users\tanne\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:30:22)
at C:\Users\tanne\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:99:19
at new Promise (<anonymous>)
at Observable.toPromise (C:\Users\tanne\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:97:16)
at ServeCommand.initialize (C:\Users\tanne\AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js:130:86)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
要在多台机器上运行我的角度应用程序,我需要做什么?
答案 0 :(得分:1)
答案 1 :(得分:0)
希望这会有所帮助。一切顺利。