the-hideout / tarkov-dev

The official site for tarkov.dev - A web app to track item prices, view trader barters, quests, maps, and much more!
https://tarkov.dev
MIT License
144 stars 52 forks source link

e is null #867

Closed Discoded closed 7 months ago

Discoded commented 7 months ago

Describe the Issue

Trying to access https://tarkov.dev/hideout-profit/ Results in an error: Firefox:

e is null

54785/m/I</<@https://tarkov.dev/static/js/2201.6fe6d05a.chunk.js:1:7554
54785/m/I<@https://tarkov.dev/static/js/2201.6fe6d05a.chunk.js:1:7521
Xd@https://tarkov.dev/static/js/main.9e064652.js:1:208443
59117/a.useMemo@https://tarkov.dev/static/js/main.9e064652.js:1:347905
m@https://tarkov.dev/static/js/2201.6fe6d05a.chunk.js:1:7513
xd@https://tarkov.dev/static/js/main.9e064652.js:1:204032
Po@https://tarkov.dev/static/js/main.9e064652.js:1:215720
wc@https://tarkov.dev/static/js/main.9e064652.js:1:262028
gm@https://tarkov.dev/static/js/main.9e064652.js:1:250253
km@https://tarkov.dev/static/js/main.9e064652.js:1:250181
ym@https://tarkov.dev/static/js/main.9e064652.js:1:250042
dm@https://tarkov.dev/static/js/main.9e064652.js:1:246822
mm@https://tarkov.dev/static/js/main.9e064652.js:1:247213
ji@https://tarkov.dev/static/js/main.9e064652.js:1:187753
im/<@https://tarkov.dev/static/js/main.9e064652.js:1:244755

Chrome:

Cannot read properties of null (reading 'crafts')
TypeError: Cannot read properties of null (reading 'crafts')
    at https://tarkov.dev/static/js/2201.6fe6d05a.chunk.js:1:7558
    at Array.filter (<anonymous>)
    at https://tarkov.dev/static/js/2201.6fe6d05a.chunk.js:1:7521
    at Object.Xd [as useMemo] (https://tarkov.dev/static/js/main.9e064652.js:1:208443)
    at a.useMemo (https://tarkov.dev/static/js/main.9e064652.js:1:347905)
    at m (https://tarkov.dev/static/js/2201.6fe6d05a.chunk.js:1:7513)
    at xd (https://tarkov.dev/static/js/main.9e064652.js:1:204032)
    at Po (https://tarkov.dev/static/js/main.9e064652.js:1:215720)
    at wc (https://tarkov.dev/static/js/main.9e064652.js:1:262028)
    at gm (https://tarkov.dev/static/js/main.9e064652.js:1:250251)

image

Expected Behavior

Should show craftable items in the hideout and its profits

To Reproduce

Go to https://tarkov.dev/hideout-profit/

Client

Desktop

Browser

Firefox

Relevant Console Log Output

**In Firefox:**
Error in hideoutStations API query: module is not defined 24 main.9e064652.js:1:426009
TypeError: e is null
    I https://tarkov.dev/static/js/2201.6fe6d05a.chunk.js:1
    I https://tarkov.dev/static/js/2201.6fe6d05a.chunk.js:1
    Xd https://tarkov.dev/static/js/main.9e064652.js:1
    useMemo https://tarkov.dev/static/js/main.9e064652.js:1
    m https://tarkov.dev/static/js/2201.6fe6d05a.chunk.js:1
    xd https://tarkov.dev/static/js/main.9e064652.js:1
    Po https://tarkov.dev/static/js/main.9e064652.js:1
    wc https://tarkov.dev/static/js/main.9e064652.js:1
    gm https://tarkov.dev/static/js/main.9e064652.js:1
    km https://tarkov.dev/static/js/main.9e064652.js:1
    ym https://tarkov.dev/static/js/main.9e064652.js:1
    dm https://tarkov.dev/static/js/main.9e064652.js:1
    mm https://tarkov.dev/static/js/main.9e064652.js:1
    ji https://tarkov.dev/static/js/main.9e064652.js:1
    im https://tarkov.dev/static/js/main.9e064652.js:1
main.9e064652.js:1:212723
Partitioned cookie or storage access was provided to “https://discord.com/widget?id=956236955815907388&theme=dark” because it is loaded in the third-party context and dynamic state partitioning is enabled.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cdn.discordapp.com/widget-avatars/zBG6yGTEnZ_ikEkkfIlU9NrZbYag-XCQ-mDK1-u13ZQ/8vCHw3P_Vm0kh2XoTZ5vw-rfXBcGKbNNLWHh5leq3nbGxAoI9kJQvp64AzV3qQ3NnDj61wljtAso7ZareU4. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cdn.discordapp.com/widget-avatars/Luonfwiyjx3yBbxOIdUyVTGqZFThfuzQZqLoCvWLWhs/tACnJ3cPwjiuZfVq97PSHbcA1DIhEwjaUY7JzhDwTy0Wo7QqAuTwhu-BHa1vpoysgRJnVl7CqAWkgKx_dqc. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.
Cookie “cf_clearance” will soon be rejected because it is foreign and does not have the “Partitioned“ attribute. 2 85f616ee1b99c53d
The resource at “https://tarkov.dev/fonts/bender.woff2” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. hideout-profit

**In Chrome:**
widget:1 Access to image at 'https://cdn.discordapp.com/widget-avatars/zBG6yGTEnZ_ikEkkfIlU9NrZbYag-XCQ-mDK1-u13ZQ/8vCHw3P_Vm0kh2XoTZ5vw-rfXBcGKbNNLWHh5leq3nbGxAoI9kJQvp64AzV3qQ3NnDj61wljtAso7ZareU4' from origin 'https://discord.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
8vCHw3P_Vm0kh2XoTZ5vw-rfXBcGKbNNLWHh5leq3nbGxAoI9kJQvp64AzV3qQ3NnDj61wljtAso7ZareU4:1 

       Failed to load resource: net::ERR_FAILED
Third-party cookie will be blocked. Learn more in the Issues tab.
Third-party cookie will be blocked. Learn more in the Issues tab.
Third-party cookie will be blocked. Learn more in the Issues tab.
Third-party cookie will be blocked. Learn more in the Issues tab.
Third-party cookie will be blocked. Learn more in the Issues tab.
Third-party cookie will be blocked. Learn more in the Issues tab.
Third-party cookie will be blocked. Learn more in the Issues tab.
Third-party cookie will be blocked. Learn more in the Issues tab.
Third-party cookie will be blocked. Learn more in the Issues tab.
Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
hideout-profit/:1 Third-party cookie will be blocked. Learn more in the Issues tab.
widget:1 Access to image at 'https://cdn.discordapp.com/widget-avatars/Luonfwiyjx3yBbxOIdUyVTGqZFThfuzQZqLoCvWLWhs/tACnJ3cPwjiuZfVq97PSHbcA1DIhEwjaUY7JzhDwTy0Wo7QqAuTwhu-BHa1vpoysgRJnVl7CqAWkgKx_dqc' from origin 'https://discord.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
tACnJ3cPwjiuZfVq97PSHbcA1DIhEwjaUY7JzhDwTy0Wo7QqAuTwhu-BHa1vpoysgRJnVl7CqAWkgKx_dqc:1 

       Failed to load resource: net::ERR_FAILED
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 Error in hideoutStations API query: module is not defined
main.9e064652.js:1 TypeError: Cannot read properties of null (reading 'crafts')
    at index.js:63:38
    at Array.filter (<anonymous>)
    at index.js:63:24
    at Object.Xd [as useMemo] (main.9e064652.js:1:208443)
    at a.useMemo (main.9e064652.js:1:347905)
    at m (index.js:62:22)
    at xd (main.9e064652.js:1:204032)
    at Po (main.9e064652.js:1:215720)
    at wc (main.9e064652.js:1:262028)
    at gm (main.9e064652.js:1:250251)
fo @ main.9e064652.js:1
main.9e064652.js:1 Error in traders API query: module is not defined
main.9e064652.js:1 Error in traders API query: module is not defined
main.9e064652.js:1 Error in traders API query: module is not defined
main.9e064652.js:1 Error in traders API query: module is not defined
main.9e064652.js:1 Error in traders API query: module is not defined
main.9e064652.js:1 Error in traders API query: module is not defined
main.9e064652.js:1 Error in traders API query: module is not defined
main.9e064652.js:1 Error in traders API query: module is not defined
main.9e064652.js:1 Error in traders API query: module is not defined
main.9e064652.js:1 Error in traders API query: module is not defined

Extra Information

No response

Razzmatazzz commented 7 months ago

This has been resolved. Thanks for reporting!