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 Jul 19, 2024. It is now read-only.
No matter what I try I hit the same bug while trying to use this package. funcpack pack ./ runs successfully, but trying to start the functions (on localhost or in Azure) results in the error "Error: Cannot find module ."
It seems to be comming from this code block in index.js (the one generated by funcpack)
var UglifyJS = exports;
var FILES = UglifyJS.FILES = [
"../lib/utils.js",
"../lib/ast.js",
"../lib/parse.js",
"../lib/transform.js",
"../lib/scope.js",
"../lib/output.js",
"../lib/compress.js",
"../lib/sourcemap.js",
"../lib/mozilla-ast.js",
"../lib/propmangle.js",
"./exports.js",
].map(function(file){
return /*require.resolve*/(!(function webpackMissingModule() { var e = new Error("Cannot find module \".\""); e.code = 'MODULE_NOT_FOUND'; throw e; }()));
});
Hi,
No matter what I try I hit the same bug while trying to use this package.
funcpack pack ./
runs successfully, but trying to start the functions (on localhost or in Azure) results in the error"Error: Cannot find module ."
It seems to be comming from this code block in
index.js
(the one generated by funcpack)This seems to be similar to webpack-contrib/uglifyjs-webpack-plugin#226 but I don't see why UglifyJS would be included by funcpack.
Thanks
The text was updated successfully, but these errors were encountered: