Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C condenser
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 46
    • Issues 46
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • hive
  • condenser
  • Issues
  • #134

Closed
Open
Created May 09, 2021 by Bartosz Kurek@bartosz546

Cannot Build Project

Hi! I am trying to build your project on my machine (with windows, if it matters) And I keep getting error on last step of the build.

I successfully ran this 3 commands:

npm install -g yarn
yarn add babel-cli
yarn install --frozen-lockfile --ignore-optional

And keep failing on this one: yarn run build

The error stack trace is attached below:

$ SET NODE_ENV=production webpack --config ./webpack/prod.config.js && rm -rf ./lib && babel src --out-dir lib -D Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel. at throwVersionError (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules@babel\helper-plugin-utils\lib\index.js:78:11) at Object.assertVersion (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules@babel\helper-plugin-utils\lib\index.js:28:5) at C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules@babel\plugin-transform-runtime\lib\index.js:36:7 at C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules@babel\helper-plugin-utils\lib\index.js:22:12 at Function.memoisePluginContainer (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:113:13) at Function.normalisePlugin (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:146:32) at C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:184:30 at Array.map () at Function.normalisePlugins (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:158:20) at OptionManager.mergeOptions (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:234:36) at OptionManager.init (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12) at File.initOptions (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\index.js:212:65) at new File (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\index.js:135:24) at Pipeline.transform (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\node_modules\babel-core\lib\transformation\pipeline.js:46:16) at transform (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\lib\babel\util.js:50:22) at Object.compile (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\lib\babel\util.js:59:12) at write (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\lib\babel\dir.js:21:21) at handleFile (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\lib\babel\dir.js:43:7) at C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\lib\babel\dir.js:61:9 at Array.forEach () at handle (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\lib\babel\dir.js:59:29) at Array.forEach () at module.exports (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\lib\babel\dir.js:69:15) at Object. (C:\Users\bartosz kurek\Desktop\my_projects\condenser-master\node_modules\babel-cli\lib\babel\index.js:129:1) at Module._compile (internal/modules/cjs/loader.js:776:30) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Edited May 09, 2021 by Bartosz Kurek
Assignee
Assign to
Time tracking