Skip to content

Failed to parse source map #747

Closed
@ramyareye

Description

@ramyareye

What happened?

I upgraded version and have this errors after yarn start:

WARNING in ./node_modules/@react-native-async-storage/async-storage/lib/module/AsyncStorage.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '~~/node_modules/@react-native-async-storage/async-storage/lib/module/AsyncStorage.js.map' file: Error: ENOENT: no such file or directory, open '~~/node_modules/@react-native-async-storage/async-storage/lib/module/AsyncStorage.js.map'
 @ ./node_modules/@react-native-async-storage/async-storage/lib/module/index.js 1:0-42 3:15-27
 @ ./node_modules/@/dist/index.esm.js 7:0-69 16155:37-57 16210:8-28 16246:8-28
 @ ./src/App.tsx 7:0-62 28:6-18 29:12-25
 @ ./src/index.tsx 7:0-24 11:33-36

WARNING in ./node_modules/@react-native-async-storage/async-storage/lib/module/hooks.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '~~/node_modules/@react-native-async-storage/async-storage/lib/module/hooks.js.map' file: Error: ENOENT: no such file or directory, open '~~/node_modules/@react-native-async-storage/async-storage/lib/module/hooks.js.map'
 @ ./node_modules/@react-native-async-storage/async-storage/lib/module/index.js 2:0-42 2:0-42
 @ ./node_modules/@/dist/index.esm.js 7:0-69 16155:37-57 16210:8-28 16246:8-28
 @ ./src/App.tsx 7:0-62 28:6-18 29:12-25
 @ ./src/index.tsx 7:0-24 11:33-36

WARNING in ./node_modules/@react-native-async-storage/async-storage/lib/module/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '~~/node_modules/@react-native-async-storage/async-storage/lib/module/index.js.map' file: Error: ENOENT: no such file or directory, open '~~/node_modules/@react-native-async-storage/async-storage/lib/module/index.js.map'
 @ ./node_modules/@/dist/index.esm.js 7:0-69 16155:37-57 16210:8-28 16246:8-28

Version

v1.16.0

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

global tsc 4.4.2 and 4.5.5
react-scripts 5.0.0 with typescript 4.4.2
was working with "@react-native-async-storage/async-storage" "^1.15.5"

Steps to Reproduce

yarn create react-app cratas --template typescript
yarn add @react-native-async-storage/async-storage
https://react-native-async-storage.github.io/async-storage/docs/usage
yarn start

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions