English 中文(简体)
Cannot find module ./helpers/environment.js
原标题:

I changed one letter and saved and I m getting this error in the terminal. I don t recall actually using Babel. Any thoughts on how this occurred and how to solve thank you.

Failed to compile.

./src/elements/contact/ContactTwo.jsx Error: [BABEL] /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/src/elements/contact/ContactTwo.jsx: Cannot find module ./helpers/environment.js Require stack:

  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/node_modules/@babel/core/lib/config/partial.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/node_modules/@babel/core/lib/config/full.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/node_modules/@babel/core/lib/config/index.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/node_modules/@babel/core/lib/transform-file.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/node_modules/@babel/core/lib/config/files/module-types.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/node_modules/@babel/core/lib/config/files/configuration.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/node_modules/@babel/core/lib/config/files/index.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/node_modules/@babel/core/lib/index.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-jsx/lib/index.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/node_modules/@babel/preset-react/lib/index.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/create.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/index.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/@babel/core/lib/config/files/plugins.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/@babel/core/lib/config/files/index.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/@babel/core/lib/index.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-loader/lib/index.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/loader-runner/lib/loadLoader.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/loader-runner/lib/LoaderRunner.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/webpack/lib/NormalModule.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/webpack/lib/NormalModuleFactory.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/webpack/lib/Compiler.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/webpack/lib/webpack.js
  • /Users/morganhondros/Documents/ATX Float/atx-float2/trydo/scripts/start.js (While processing: "/Users/morganhondros/Documents/ATX Float/atx-float2/trydo/node_modules/babel-preset-react-app/index.js")

This occurred after I changed my header image.

问题回答

暂无回答




相关问题
Cannot find module ./helpers/environment.js

I changed one letter and saved and I m getting this error in the terminal. I don t recall actually using Babel. Any thoughts on how this occurred and how to solve thank you. Failed to compile. ./src/...

Call Babel .Net Obfuscator from C# Code

I have a C# WinForms app that I use to create software patches for my app. In noticed that Babel .Net includes Babel.Build.dll and Babel.Code.dll Is there a way, in my C# code, I can call Babel .Net ...

Babel - how to pull out the statement

I m trying to simplify intentionally obfuscated Javascript. One example of code can look like following if (js = jq, d[js(646)](d[js(857)], js(606))) {} I would like to pull out statements in the if ...

热门标签