Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readFile is not exported by polyfill-node.fs.js #33

Open
Errorbot1122 opened this issue Mar 20, 2022 · 0 comments
Open

readFile is not exported by polyfill-node.fs.js #33

Errorbot1122 opened this issue Mar 20, 2022 · 0 comments

Comments

@Errorbot1122
Copy link

WHAT!!!!!!!!!

Errorbot1122/Roblox-File-Handler@d0670bd

my live code is on replit

output:

>> npm run test

> rbx-file-handler@0.0.0 test /home/runner/Roblox-File-Handler-1
> npm run build; mocha || true


> rbx-file-handler@0.0.0 build
> rollup --config


index.js → builds/robloxFileHandler.mjs, builds/robloxFileHandler.js, builds/robloxFileHandler.min.mjs, builds/robloxFileHandler.min.js...
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
xml2js (imported by index.js)
(!) Missing exports
https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
index.js
readFile is not exported by polyfill-node.fs.js
348: 
349:   // Read the file
350:   fs.readFile(path, (rErr, data) => {
          ^
351:   
352:     if (rErr) {
created builds/robloxFileHandler.mjs, builds/robloxFileHandler.js, builds/robloxFileHandler.min.mjs, builds/robloxFileHandler.min.js in 6.7s

Classes/*.mjs, Datatypes/*.mjs, Enums/*.mjs → builds/RoModules.mjs, builds/RoModules.min.mjs...
created builds/RoModules.mjs, builds/RoModules.min.mjs in 2.8s


  MAIN
    parseFile
      ✔ Exists?
      ✔ Returns object with valid XML? (64ms)
      Read any valid RBXLX file
        ✔ Can parse simple baseplate? (RBXLX)
        ✔ Can parse simple baseplate? (XML) (97ms)
        ✔ Can parse simple baseplate? (TXT)
      Read diffent file sizes
        ✔ Can parse a large normel RBXLX file (1211ms)
    Classes
      ✔ exported classes exsit
      ✔ can create instance

  BUILDS
    ✔ Normal build exists
    ✔ Minifided build exists
    ✔ Minifided build is smaller the normal build


  11 passing (2s)

P.S. Sorry about the low quality, I'm just burned out today :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant