English 中文(简体)
未能汇编/编造:类型: 备选办法不是职能
原标题:Failing to compile/build: TypeError: this.getOptions is not a function

我先审查了对这一问题的其他答复,但似乎更为复杂。 我的一揽子计划。 json有我的装载器和网络包装,其设置如下:

"engines": {
    "node": "14.17.4",
    "npm": "6.14.14"
},


"dependencies": {
    ...
    "node-sass": "^4.11.0",
},

"devDependencies": {
    "@babel/core": "^7.19.3",
    "@babel/preset-env": "^7.19.3",
    "babel-loader": "^8.2.5",
    "css-loader": "^6.8.1",
    "prettier": "^2.2.0",
    "sass": "^1.62.1",
    "sass-loader": "^13.3.1",
    "style-loader": "^2.0.0",
    "webpack": "^5.74.0"
  },

对这一问题的所有其他答复都围绕着文本不兼容问题,但这些版本似乎是一致的。 对这一点的任何见解都会受到高度赞赏,感谢你!

完全错误:

TypeError: this.getOptions is not a function


npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! web-frontend@0.1.0 build: `node --inspect scripts/build.js`
npm ERR! Exit status 1

问题回答

暂无回答




相关问题
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 ...

热门标签