ostap icon indicating copy to clipboard operation
ostap copied to clipboard

TypeError: Cannot read property 'data' of undefined

Open St1ggy opened this issue 6 years ago • 7 comments

Hi! Tried just launch in my project and got following error with infinity process

image

 ↵ SIGINT(2)  ostap ./package.json
✔ source tree: 1 duplicates found, and they have 1 copies
⠋ optimizing... ERROR
processing error
TypeError: Cannot read property 'data' of undefined
⠸ optimizing...

Macbook Pro OS Mojave 10.14.4 iTerm 2 with oh-my-zsh

St1ggy avatar Apr 01 '19 14:04 St1ggy

pls send your package.json for debug

itwillwork avatar Apr 02 '19 09:04 itwillwork

pls send your package.json for debug

oh thats big package with private packages for big React Native app package.json.txt I removed private info as keys and private deps, but still got error

St1ggy avatar Apr 02 '19 16:04 St1ggy

Thanks! fixed https://github.com/itwillwork/ostap/commit/5746f7f2bb668af4a6a652bff6a92f0d4ed367f7

check pls

npm i -g [email protected]

itwillwork avatar Apr 02 '19 22:04 itwillwork

@itwillwork nope, there is no error for now, but just infinity loader :(

St1ggy avatar Apr 04 '19 13:04 St1ggy

Can you break the previously sent package.json.txt?

itwillwork avatar Apr 04 '19 13:04 itwillwork

Did you update the version exactly?

itwillwork avatar Apr 04 '19 13:04 itwillwork

check pls, with new version

npm i -g [email protected]

itwillwork avatar Apr 05 '19 08:04 itwillwork