Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error While Updating @momentum-ui/web-components #1209

Open
akki-jat opened this issue Apr 11, 2022 · 0 comments
Open

Error While Updating @momentum-ui/web-components #1209

akki-jat opened this issue Apr 11, 2022 · 0 comments

Comments

@akki-jat
Copy link
Collaborator

akki-jat commented Apr 11, 2022

Issue Type

Bug Report

Component or Pattern Affected

web-components

Expected Behavior

Should update properly

Current Behavior

Getting this error while updating @momentum-ui/web-components

Error: Cannot find module 'fs-path'
Require stack:
- /Users/akjat/Documents/Projects/flow-control-design/fc-ui/node_modules/@momentum-ui/web-components/src/utils/createTokenFilesModule.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/Users/akjat/Documents/Projects/flow-control-design/fc-ui/node_modules/@momentum-ui/web-components/src/utils/createTokenFilesModule.js:13:16)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/akjat/Documents/Projects/flow-control-design/fc-ui/node_modules/@momentum-ui/web-components/src/utils/createTokenFilesModule.js'
  ]
}

Possible Solution

Steps to Reproduce (for bugs)

  1. run yarn upgrade @momentum-ui/web-components --latest

Context

Your Environment

  • Library: Web Components
  • Version used: 2.5.7
  • Browser Name and version: Chrome 100
  • Operating System and version: macOS 12.3.1
  • Link to your project: Private Project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant