我正在尝试获得一个非常基本的浏览器化示例,但我在Windows7上的Windows7命令提示符中出现了一个错误,这让我发疯了。看起来,浏览器化很简单,没有解析到windows \path的路径。在路径中使用\很好。
错误:
C:\Projects\Gameplan\gameplan>browserify -e src/javascript/app2.js
Error: module "../appmodules/module1.js" not found from "C:\\Projects\\Gameplan\\gameplan\\src\\javasc
正在尝试将汇总添加到我的babel代码库。
当我的代码没有咖啡脚本时,我得到了一个与咖啡脚本相关的错误。我是新手,所以如果有任何帮助,我将不胜感激
似乎有一个名为config的库,但我不知道是什么在使用它。
[!] Error: Could not resolve 'coffee-script' from /Users/terencechow/workspace/my-project/node_modules/config/lib/config.js
Error: Could not resolve 'coffee-script' from /Users/ter
我试图完成角的AOT教程:
使用ngc部件工作,并生成aot文件夹。然而,当涉及到rollup部件的树抖动时,我遇到了以下错误:
Error: Could not resolve '../aot/app/app.module.ngfactory' from ...\app\main-aot.js
at Error (native)
at ...\node_modules\rollup-plugin-node-resolve\dist\rollup-plugin-node-resolve.cjs.js:78:21
at ...\node_modules\
运行jest测试时出现以下错误: src/tests/components/ImageSearchApp.test.js
● Test suite failed to run
Cannot find module '@comp/Header' from 'src/components/ImageSearchApp.js'
Require stack:
src/components/ImageSearchApp.js
src/tests/components/ImageSearchApp.test.js
我正在制作一个应用程序与反应-本地和反应-本土-网站。我尝试在项目中添加react-本机-矢量-图标,遵循这个,我在web构建中得到了一个错误:
ERROR in ./node_modules/react-native-vector-icons/lib/create-icon-set.js 91:8
Module parse failed: Unexpected token (91:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to proc
在我从12版升级到13版后,当我运行ng serve o时,我得到了很多模块错误。我怎么才能修好它?
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- ad
有了一点业余时间,我试着用我喜欢的新网络技术(打字稿,帕格和反应)重新设计我的一个旧项目。一切都很好,直到我尝试将pug.js添加到与babel-plugin-transform-react-pug的混合中。
无论我对配置做了多少手脚,我都无法让构建阶段工作并得到以下错误:
ERROR in ./node_modules/uglify-js/tools/node.js
Module not found: Error: Can't resolve 'fs'
ERROR in ./node_modules/resolve/lib/sync.js
Module not fo
我在我的项目中使用Twilio,当它产生错误时,我无法在我的类型记录文件中导入Api。如果我在我的javascript文件中使用这个api,那么它可以正常工作,但是在类型记录中它不能工作。
这些都是错误-
ERROR in ./node_modules/aws-sign2/index.js
Module not found: Error: Can't resolve 'crypto' in '/home/prajwal/Work/tracexpence/node_modules/aws-sign2'
ERROR in ./node_modules/aws
在ng服务之后,我在控制台中有一个错误。我怎么才能修复它?
ERROR in ./node_modules/resolve/lib/sync.js
Module not found: Error: Can't resolve 'fs' in 'project-path\node_modules\resolve\lib'
ERROR in ./node_modules/resolve/lib/async.js
Module not found: Error: Can't resolve 'fs' in 'project-pa
因此,构建应用程序后端的时候到了。但是,当我把这个项目移到一个客户端文件夹中时,我犯了很多错误,就像youtube视频中提到的那样。我还创建了一个服务器文件夹,该文件夹目前是空的。我怎么才能解决这个问题?我真的不知道从哪里开始,或者悲伤地做些什么。
这是一个错误列表:
Compiled with problems:
ERROR in ./node_modules/body-parser/lib/read.js 20:11-26
Module not found: Error: Can't resolve 'zlib' in 'C:\Users\Serma\D
我试图升级我的反应项目到网络包5。我正在使用创建-反应-应用程序。当我这样做时,我得到了以下错误:
Compiled with problems:X
ERROR in ./node_modules/content-disposition/index.js 19:15-39
Module not found: Error: Can't resolve 'path' in '/home/kboul/Documents/Apps/earthnetviewer/esa_react/node_modules/content-disposition'
I am trying to add the bootstrap class style.css file.When i am compiling the
application getting the below error.
style.css
@import "~bootstrap/dist/css/bootstrap.css";
**Myerror**
在./node_node/css-加载程序中出错?{“sourceMap”:false,sourceMap“sourceMap”:false}!./src/penes.css模块构建失败:错误:无法解析‘~sourc
ipfs初始化,但我无法获得轨道数据库实例。
const orbitdb = await OrbitDB.createInstance( ipfs );
Uncaught (in promise) TypeError: Path must be a string. Received "12D3KooWByXmww9fsJv46RddyFk4PJDfiuAY315MHQb9jAtyTBfW"
at assertPath (index.js:29:1)
at Object.join (index.js:186:1)
at OrbitDB.createInst
我曾尝试使用最新版本的saxon-js和webpack作为模块捆绑器-但尝试构建该捆绑包会产生错误。Saxon-js是使用npm安装的。
我使用了以下代码来导入saxon-js:
import * as SaxonJS from 'saxon-js';
以及
import SaxonJS from 'saxon-js';
尝试以这种方式导入saxon-js时,webpack会产生以下错误:
Module not found: Error: Can't resolve 'stream' in '/Users/bastian/Docu
我得到了一个错误:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\nghia\OneDrive\Máy tính\nodebasic\src\configs\viewEngine' imported from C:\Users\nghia\OneDrive\Máy tính\nodebasic\src\server.js
at new NodeError (internal/errors.js:322:7)
at finalizeResolution (internal/modules/es
我正在构建一个Angular 6应用程序,但每次我想为localhost提供服务时,我都会收到以下错误:
ERROR in ./node_modules/aws-sign2/index.js
Module not found: Error: Can't resolve 'crypto' in 'C:\Users\sorou\projects\tunrWeb\node_modules\aws-sign2'
ERROR in ./node_modules/aws4/aws4.js
Module not found: Error: Can't reso
我必须使用CBOR节点模块解码一个cbor编码的数组。
当我发出命令时:
const decodedData = base45.decode(greenpassBody);
const output = pako.inflate(decodedData);
const results = cbor.decodeAllSync(output); // this line
此错误正在触发:
_stream_readable.js:529 Uncaught ReferenceError: process is not defined
at emitReadable (_stream_read
当我在react中使用jwt.verify()或jwt.decode()函数时,它会显示出许多错误。
这些错误是:
ERROR in ./node_modules/jwa/index.js 5:13-30
Module not found: Error: Can't resolve 'crypto' in 'C:\Users\client\node_modules\jwa'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by def
我正在研究角电子的应用。我正在尝试将winston logger添加到我的应用程序中。在配置了winston-logger.ts文件之后,当我使用npm run errors运行应用程序时,我得到了以下错误 ERROR in ./node_modules/winston/dist/winston/tail-file.js
Module not found: Error: Can't resolve 'fs' in 'C:\Users\node_modules\winston\dist\winston'
ERROR in ./node_modules/w