我想在从nuxtjs应用程序的任何页面发送ajax查询后,从node/express服务器获取数据。通常,为了在PHP服务器上获取和发送ajax查询,我会这样做:$_GET‘’var‘;echo json_encode(’服务器获取数据‘);现在我想使用node server express在mongodb, Builder } = require('nuxt')
// Import and Set
我正在尝试使用pm2运行nuxtjs应用程序,但应用程序立即退出,并且我无法从pm2日志中获取有用的信息: 2|frontend_nuxt | Error: ENOENT: no such file/share/.config/yarn/global/node_modules/pm2/node_modules/async/internal/once.js:12:16)
2|frontend_nuxt:96
在Windows中,一切工作都没有问题,然而,在ubuntu上,使用'yarn‘和'yarn dev’命令时,脚本崩溃并显示以下内容。安装了nvm的节点。可能的问题是什么?/.nuxt/components/plugin.js
at async Promise.all(index 0)
at async Builde