【发布时间】:2020-01-08 01:58:58
【问题描述】:
external "url":1 Uncaught ReferenceError: require is not defined 在 Object.url(外部“url”:1) 在 webpack_require (bootstrap:83) 在对象。 (客户:6) 在 Object../node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:0 (vendor.js:219506) 在 webpack_require (bootstrap:83) 在 Object.0 (main.ts:25) 在 webpack_require (bootstrap:83) 在 checkDeferredModules (bootstrap:45) 在 Array.webpackJsonpCallback [作为推送] (bootstrap:32) 在 main.js:1
项目是 angular 和 electron,没有 webpack 文件我已经搜索过这个错误帮帮我
我尝试了所有重新安装项目的方法再次下载节点模块我已经尝试过的所有方法但仍然是同样的错误
【问题讨论】:
-
external "url":1 Uncaught ReferenceError: require is not defined at Object.url (external "url":1) at webpack_require (bootstrap:83) at Object.
(client:6) at Object../node_modules/webpack-dev-server/client/index.js?0.0.0.0:0 (vendor.js:219506) at webpack_require (bootstrap:83 ) 在 Object.0 (main.ts:25) at webpack_require (bootstrap:83) at checkDeferredModules (bootstrap:45) at Array.webpackJsonpCallback [as push] (bootstrap:32) at main.js :1
标签: typescript