-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Versions of kyt, node, OS
kyt 0.9.0
node 10.6.0
OS macos 10.11.6
Bug or Feature?
Bug
Current Behavior
yarn dev or npm run dev results in an error
Desired Behavior
no error is thrown. app runs.
Fix:
line 72 of webpack.base.js shoud read:
fs.writeFileSync(assetsFilePath, JSON.stringify(assets, null, ' '), 'utf8');
instead of:
fs.writeFile(assetsFilePath, JSON.stringify(assets, null, ' '), 'utf8');
Full error:
fs.js:133
throw new ERR_INVALID_CALLBACK();
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:133:9)
at Object.writeFile (fs.js:1132:14)
at WebpackAssetsManifest.done (/kyt/node_modules/kyt/config/webpack.base.js:72:16)
at WebpackAssetsManifest.emit (events.js:182:13)
at Compiler.applyPlugins (/kyt/node_modules/tapable/lib/Tapable.js:61:14)
at /kyt/node_modules/webpack/lib/Compiler.js:273:13
at Compiler.emitRecords (/kyt/node_modules/webpack/lib/Compiler.js:369:37)
at /kyt/node_modules/webpack/lib/Compiler.js:267:12
at /kyt/node_modules/webpack/lib/Compiler.js:362:11
at next (/kyt/node_modules/tapable/lib/Tapable.js:218:11)
AnsonT, JocelynWordSmith, LadyBytes, remo5000, ebello and 8 more
Metadata
Metadata
Assignees
Labels
No labels