English 中文(简体)
Error while deploying meteor js app from m1 mac and node version 13.14.0
原标题:
file:///Users/*****/Codes/meteor/contacts_crm/node_modules /.meteor-vite-build-worker.mjs:7
const viteConfig = await resolveConfig({})
               ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:81:18)
    at async link (internal/modules/esm/module_job.js:37:21)
                                          
Errors prevented deploying:
While loading plugin `vite` from package `vite:bundler`:
packages/vite/build.js:375:2: Command failed with exit code 1: node /Users/****/Codes/meteor    /contacts_crm/node_modules/.meteor-vite-build-worker.mjs
at makeError (packages/vite/build.js:375:2)
at execaSync (packages/vite/build.js:375:2)
at packages/vite/build.js:262:18
at module (packages/vite/build.js:375:2)
at fileEvaluate (packages/modules-runtime.js:336:7)
at Module.require (packages/modules-runtime.js:238:14)
at require (packages/modules-runtime.js:258:21)
at packages/vite/build.js:375:2
at packages/vite/build.js:375:2`

switched to node version 13.14.0 and deployed all node version >10 and <14 shows this error`

问题回答

暂无回答




相关问题
How to make Sequelize use singular table names

I have an model called User but Sequelize looks for the table USERS whenever I am trying to save in the DB. Does anyone know how to set Sequelize to use singular table names? Thanks.

What is Node.js? [closed]

I don t fully get what Node.js is all about. Maybe it s because I am mainly a web based business application developer. What is it and what is the use of it? My understanding so far is that: The ...

Clientside going serverside with node.js

I`ve been looking for a serverside language for some time, and python got my attention somewhat. But as I already know and love javascript, I now want learn to code on the server with js and node.js. ...

Can I use jQuery with Node.js?

Is it possible to use jQuery selectors/DOM manipulation on the server-side using Node.js?

How do I escape a string for a shell command in node?

In nodejs, the only way to execute external commands is via sys.exec(cmd). I d like to call an external command and give it data via stdin. In nodejs there does yet not appear to be a way to open a ...

热门标签