You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying ncc for the first time with a simple express server and when I use --v8-cache this error pops up.
ncc build -m --v8-cache index.js
TypeError: Cannot read property 'byteLength' of undefined
at renderSummary (evalmachine.:1:28261)
at handler (evalmachine.:1:31623)
// index.jsimporthttpfrom'http';importexpressfrom'express';importmorganfrom'morgan';importhelmetfrom'helmet';importcorsfrom'cors';importbodyParserfrom'body-parser';import{version}from'./package';constapp=express();app.use(morgan('combined'));app.use(helmet());app.use(cors());app.use(bodyParser.json());app.get('/',(req,res)=>res.json({ version }));constserver=http.createServer(app);server.listen(()=>console.log(`server listening on http://127.0.0.1:${server.address().port}`),);
I'm running macOS Mojave on a 13" macbook pro
The text was updated successfully, but these errors were encountered:
This fixes#336.
There was a regression on the v8-cache when asset permissions handling was added. This should have been caught by the self-build, but the self-build was effectively working around the API difference.
Fixes the self-build too and includes and end-to-end test of the v8-cache.
I'm trying ncc for the first time with a simple express server and when I use --v8-cache this error pops up.
I'm running macOS Mojave on a 13" macbook pro
The text was updated successfully, but these errors were encountered: