こんにちは。
現在、Dockerコンテナを使用して本番環境を構築しています。
[I’m currently building a production environment using Docker containers.]
PM2を使用してMeteorを実行すると、エラーが表示されて起動しません。 (node_module @babel / runtimeが見つかりませんでしたと表示されます)。
[When running Meteor using PM2, an error is displayed and it does not start. (node_module @babel / runtime could not be found).]
以下メッセージ
shell
114:33:47 PM2 | App [Myservice:0] starting in -cluster mode- 214:33:47 1|Myservice | Error: 314:33:47 1|Myservice | The @babel/runtime npm package could not be found in your node_modules 414:33:47 1|Myservice | directory. Please run the following command to install it: 514:33:47 1|Myservice | meteor npm install --save @babel/runtime 614:33:47 1|Myservice | at babel-runtime.js (packages/babel-runtime.js:20:9) 714:33:47 1|Myservice | at fileEvaluate (packages/modules-runtime.js:336:7) 814:33:47 1|Myservice | at Module.require (packages/modules-runtime.js:238:14) 914:33:47 1|Myservice | at require (packages/modules-runtime.js:258:21) 1014:33:47 1|Myservice | at packages/babel-runtime.js:53:15 1114:33:47 1|Myservice | at packages/babel-runtime.js:58:3 1214:33:47 1|Myservice | at /var/www/html/aphrodite/bundle/programs/server/boot.js:398:38 1314:33:47 1|Myservice | at Array.forEach (<anonymous>) 1414:33:47 1|Myservice | at /var/www/html/aphrodite/bundle/programs/server/boot.js:226:21 1514:33:47 1|Myservice | at /var/www/html/aphrodite/bundle/programs/server/boot.js:461:7 162020-03-24T14:33:47: PM2 log: App name:Myservice id:1 disconnected 1714:33:47 PM2 | App name:Myservice id:1 disconnected 182020-03-24T14:33:47: PM2 log: App [Myservice:1] exited with code [0] via signal [SIGINT] 1914:33:47 PM2 | App [Myservice:1] exited with code [0] via signal [SIGINT] 202020-03-24T14:33:47: PM2 log: App [Myservice:1] starting in -cluster mode- 2114:33:47 PM2 | App [Myservice:1] starting in -cluster mode- 222020-03-24T14:33:47: PM2 log: App [Myservice:0] online 2314:33:47 PM2 | App [Myservice:0] online 242020-03-24T14:33:47: PM2 log: App [Myservice:1] online 2514:33:47 PM2 | App [Myservice:1] online
現時点では、グローバルとローカルのnode_modulesの両方にbabel-runtimeが含まれているため、見つからないことはないと思うのですが。 。 。
[At this time, I think that there is no missing because babel-runtime is included in both global and local node_modules. . .]
同様の事象に遭遇した場合は、情報共有お願い致します!
[If you have encountered any similar events, please share your information!]
[Ver]
Meteor: 1.8.2
npm: 6.4.1
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。