Jump to content

Error using pixi-sound (fs)


David Higuita
 Share

Recommended Posts

Hello, I am using pixi-sound on a game with pixi.js and now I can't start my game because I get an error for the fs

ERROR in ./node_modules/pixi-sound/dist/pixi-sound.es.min.js
    Module not found: Error: Can't resolve 'fs' in '/Users/davidh/Documents/Jobs/XXXX/node_modules/pixi-sound/dist'
    resolve 'fs' in '/Users/davidh/Documents/Jobs/XXXX/node_modules/pixi-sound/dist'
      Parsed request is a module
      using description file: /Users/davidh/Documents/Jobs/XXXX/node_modules/pixi-sound/package.json (relative path: ./dist)
        Field 'browser' doesn't contain a valid alias configuration
      after using description file: /Users/davidh/Documents/Jobs/XXXX/node_modules/pixi-sound/package.json (relative path: ./dist)

 

I installed v2.0.0-alpha so on github told me that this version solve it. Do you know what might be?

Thanks

Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...