antoniopresto / antd-mask-input

MIT License
88 stars 38 forks source link

Failed to parse source map from /node_modules/antd-mask-input/src/lib/MaskedInput.tsx #40

Closed sekizlipenguen closed 2 years ago

sekizlipenguen commented 2 years ago

WARNING in ./node_modules/antd-mask-input/build/module/lib/MaskedInput.js Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/node_modules/antd-mask-input/src/lib/MaskedInput.tsx' file: Error: ENOENT: no such file or directory, open 'node_modules/antd-mask-input/src/lib/MaskedInput.tsx'

sekizlipenguen commented 2 years ago

++ Screen Shot 2022-03-10 at 12 56 27

VjIntesols commented 2 years ago

As soon as I hit npm update, The error started to show up. Screenshot 2022-03-11 at 9 17 25 AM

sekizlipenguen commented 2 years ago

for workaround you should try this version: "antd": "4.18.9"

pablohenriqueop commented 2 years ago

for workaround you should try this version: "antd": "4.18.9"

i tryed it but don't works :/

sekizlipenguen commented 2 years ago

for workaround you should try this version: "antd": "4.18.9"

i tryed it but don't works :/

must make sure that the version you have installed is correct.

  1. delete this folder and reload: node_modules (terminal -> project folder -> rm -rf node_modules/)
  2. yarn install
  3. use exact expression for version ( ^ remove )

Screen Shot 2022-03-12 at 16 47 29

pablohenriqueop commented 2 years ago

for workaround you should try this version: "antd": "4.18.9"

i tryed it but don't works :/

must make sure that the version you have installed is correct.

  1. delete this folder and reload: node_modules (terminal -> project folder -> rm -rf node_modules/)
  2. yarn install
  3. use exact expression for version ( ^ remove )

Screen Shot 2022-03-12 at 16 47 29

It works. Thanks!

antoniopresto commented 2 years ago

I just published version 2.0 See examples in tests, readme or storybook: https://github.com/antoniopresto/antd-mask-input/blob/master/stories/input.stories.tsx