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
{{ message }}
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
I have same issue. node 14.18.1, with type: module in package.json
ypeError: Cannot read property 'filename' of undefined
at Object.<anonymous> (/Users/joshpike/Projects/formpigeon/node_modules/fuse-box/env.js:20:31)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object.<anonymous> (/Users/joshpike/Projects/formpigeon/node_modules/fuse-box/utils/utils.js:10:15)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
Hi,
I'm using : "fuse-box": "^4.0.1-next.8",
When I run node fuse, to my file fuse.js, got the prob :
node_modules\fuse-box\env.js:20
SCRIPT_FILE: require.main.filename,
here my fuse.js file :
import { fusebox } from 'fuse-box';
const fuse = fusebox({
entry: 'src/main.ts',
target: 'browser',
devServer: true,
webIndex: {
template: 'src/index.html',
},
webIndex: true,
});
fuse.runDev();
The text was updated successfully, but these errors were encountered: