Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/439.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 我用CreateReact应用程序创建了一个项目。在我的windows pc上,但当尝试在命令行上运行npm start时,会显示此错误。请帮助我_Javascript_Reactjs_Npm_React Dom - Fatal编程技术网

Javascript 我用CreateReact应用程序创建了一个项目。在我的windows pc上,但当尝试在命令行上运行npm start时,会显示此错误。请帮助我

Javascript 我用CreateReact应用程序创建了一个项目。在我的windows pc上,但当尝试在命令行上运行npm start时,会显示此错误。请帮助我,javascript,reactjs,npm,react-dom,Javascript,Reactjs,Npm,React Dom,在npm启动时出错 npm错误!代码失效循环 npm错误!错误1 npm错误!退出状态1 npm错误! npm错误!在拉伯失败了-react@0.1.0开始脚本。 npm错误!这可能不是npm的问题。上面可能还有其他日志输出 npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\lectriweb\AppData\Roaming\npm-cache\_logs\2020-08-17T09_32_32_

在npm启动时出错

npm错误!代码失效循环 npm错误!错误1 npm错误!退出状态1 npm错误! npm错误!在拉伯失败了-react@0.1.0开始脚本。 npm错误!这可能不是npm的问题。上面可能还有其他日志输出

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\lectriweb\AppData\Roaming\npm-cache\_logs\2020-08-17T09_32_32_695Z-debug.log
PS C:\Users\lectriweb\Documents\raber-react> npm start

> raber-react@0.1.0 start C:\Users\lectriweb\Documents\raber-react
> react-scripts start

internal/modules/cjs/loader.js:968
  throw err;
  ^

Error: Cannot find module 'emojis-list'
Require stack:
- C:\Users\lectriweb\Documents\raber-react\node_modules\loader-utils\lib\interpolateName.js
- C:\Users\lectriweb\Documents\raber-react\node_modules\loader-utils\lib\index.js
- C:\Users\lectriweb\Documents\raber-react\node_modules\html-webpack-plugin\index.js
- C:\Users\lectriweb\Documents\raber-react\node_modules\react-scripts\config\webpack.config.js
- C:\Users\lectriweb\Documents\raber-react\node_modules\react-scripts\scripts\start.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (C:\Users\lectriweb\Documents\raber-react\node_modules\loader-utils\lib\interpolateName.js:4:20)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\lectriweb\\Documents\\raber-react\\node_modules\\loader-utils\\lib\\interpolateName.js',
    'C:\\Users\\lectriweb\\Documents\\raber-react\\node_modules\\loader-utils\\lib\\index.js',
    'C:\\Users\\lectriweb\\Documents\\raber-react\\node_modules\\html-webpack-plugin\\index.js',
    'C:\\Users\\lectriweb\\Documents\\raber-react\\node_modules\\react-scripts\\config\\webpack.config.js',
    'C:\\Users\\lectriweb\\Documents\\raber-react\\node_modules\\react-scripts\\scripts\\start.js'
  ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! raber-react@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the raber-react@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\lectriweb\AppData\Roaming\npm-cache\_logs\2020-08-17T09_50_07_067Z-debug.log
npm错误!此运行的完整日志可在以下位置找到:
npm错误!C:\Users\ElectriWeb\AppData\Roaming\npm缓存\\u日志\2020-08-17T09\u 32\u 695Z-debug.log
PS C:\Users\ElectriWeb\Documents\raber react>npm start
>拉伯-react@0.1.0启动C:\Users\ElectriWeb\Documents\raber react
>反应脚本启动
内部/modules/cjs/loader.js:968
犯错误;
^
错误:找不到模块“emojis列表”
需要堆栈:
-C:\Users\electriWeb\Documents\raber react\node\u modules\loader utils\lib\interpolateName.js
-C:\Users\electriWeb\Documents\raber react\node\u modules\loader utils\lib\index.js
-C:\Users\ElectriWeb\Documents\raber react\node\u modules\html网页插件\index.js
-C:\Users\electriWeb\Documents\raber react\node\u modules\react scripts\config\webpack.config.js
-C:\Users\electriWeb\Documents\raber react\node\u modules\react scripts\scripts\start.js
位于Function.Module.\u resolveFilename(internal/modules/cjs/loader.js:965:15)
at Function.Module._load(内部/modules/cjs/loader.js:841:27)
at Module.require(内部/modules/cjs/loader.js:1025:19)
根据需要(内部/modules/cjs/helpers.js:72:18)
反对。(C:\Users\electriWeb\Documents\raber react\node\u modules\loader utils\lib\interpolateName.js:4:20)
at模块编译(内部/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js(internal/modules/cjs/loader.js:1157:10)
在Module.load(内部/modules/cjs/loader.js:985:32)
at Function.Module._load(内部/modules/cjs/loader.js:878:14)
at Module.require(内部/modules/cjs/loader.js:1025:19){
代码:“未找到模块”,
requireStack:[
'C:\\Users\\ElectriWeb\\Documents\\raber react\\node\u modules\\loader utils\\lib\\interpolateName.js',
'C:\\Users\\ElectriWeb\\Documents\\raber react\\node\u modules\\loader utils\\lib\\index.js',
'C:\\Users\\ElectriWeb\\Documents\\raber react\\node\u modules\\html网页插件\\index.js',
'C:\\Users\\ElectriWeb\\Documents\\raber react\\node\u modules\\react scripts\\config\\webpack.config.js',
'C:\\Users\\ElectriWeb\\Documents\\raber react\\node\u modules\\react scripts\\scripts\\start.js'
]
}
npm错误!代码失效循环
npm错误!错误1
npm错误!拉伯-react@0.1.0开始:`react脚本开始`
npm错误!退出状态1
npm错误!
npm错误!在拉伯失败了-react@0.1.0开始脚本。
npm错误!这可能不是npm的问题。上面可能还有其他日志输出。
npm错误!此运行的完整日志可在以下位置找到:
npm错误!C:\Users\ElectriWeb\AppData\Roaming\npm缓存\\u日志\2020-08-17T09\u 50\u 07\u 067Z-debug.log

节点似乎找不到名为“emojis list”的模块。 打开终端,进入文件夹,尝试安装所有软件包,包括:

npm install
如果不起作用,请尝试安装emojis列表本身:

npm install emojis-list --save

错误:找不到模块“emojis列表”
看起来您缺少依赖项。