Skip to content

Not able to use in react please help #20

Description

@Nagu07

Module build failed please find the error below. Please help

ERROR in ./node_modules/sharethis-reactjs/dist/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Couldn't find preset "@babel/preset-env" relative to directory "C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\sharethis-reactjs"
at C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\babel-core\lib\transformation\file\options\option-manager.js:293:19
at Array.map ()
at OptionManager.resolvePresets (C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\babel-core\lib\transformation\file\options\option-manager.js:275:20)
at OptionManager.mergePresets (C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\babel-core\lib\transformation\file\options\option-manager.js:264:10)
at OptionManager.mergeOptions (C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\babel-core\lib\transformation\file\options\option-manager.js:249:14)
at OptionManager.init (C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
at File.initOptions (C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\babel-core\lib\transformation\file\index.js:212:65)
at new File (C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\babel-core\lib\transformation\file\index.js:135:24)
at Pipeline.transform (C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
at transpile (C:\Users\Nagu\Documents\Projects\React_study\original\ExpensifyApp\node_modules\babel-loader\lib\index.js:50:20)
@ ./src/components/ViewExpenseItem.js 19:24-52
@ ./src/components/ViewExpense.js
@ ./src/routers/AppRouter.js
@ ./src/app.js

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions