Sign in to follow this  
jSwtch

Latest version persists in browser

Recommended Posts

I am trying to test some changes on a previous version.

Npm uninstall pixi.js
Npm install pixi.js@5.1.2 --save

Browser still shows 5.1.3 in the console. 

I have also tried incognito, clearing all browser data, deleting node_modules folder (and reinstall) , and disabling app service worker. Chrome and Firefox. 

Share this post


Link to post
Share on other sites

Can you check what you have in your package.json to make sure npm is doing what you think it's doing? i.e. making sure it's explicitly setting 5.1.2

After that check the package.json inside pixi.js inside your node_modules folder for the version there.

After that you need to make sure your bundler is not mucking around, as you mention a service worker it looks like you're already looking at this.

_edit_ ooh, have you checked your package-lock.json file? it could well be the 'caching' issue is in there.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.