totaljs / framework

Node.js framework
http://www.totaljs.com
Other
4.36k stars 450 forks source link

ERR_INVALID_ARG_TYPE node 14.0.0 #756

Closed cyberquito closed 4 years ago

cyberquito commented 4 years ago

Hello,

I will like to report an error with the latest version from node: 14.0.0.

I'm developing on macOS Catalina 10.15.3.

Here's the output:

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (4391) at Object.writeFileSync (fs.js:1380:5) at app (/Users/quito/Sites/core/backend/node_modules/total.js/debug.js:459:7) at Immediate.runwatching [as _onImmediate] (/Users/quito/Sites/core/backend/node_modules/total.js/debug.js:489:3) at processImmediate (internal/timers.js:456:21) { code: 'ERR_INVALID_ARG_TYPE' }

petersirka commented 4 years ago

Hi, yes - I have fixed that bug. Just download latest beta version $ npm install total.js@beta. It's stable.

cyberquito commented 4 years ago

That was fast. Thanks Peter.

petersirka commented 4 years ago

No no, I fixed it 6 days ago... Maybe a next week will be a new release of Total.js framework. Thx.