worker-auth-providers is an open-source providers to make authentication easy with workers. Very lightweight script which doesn't need a lot of dependencies. Plug it with any framework or template of workers.
ERROR in ./node_modules/worker-auth-providers/src/index.js 1:0-45
Module not found: Error: Can't resolve './providers/github' in '/.../node_modules/worker-auth-providers/src'
Did you mean 'index.js'?
BREAKING CHANGE: The request './providers/github' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/worker.ts 10:32-64
@ ./src/index.ts 3:17-36
ERROR in ./node_modules/worker-auth-providers/src/index.js 2:0-45
Module not found: Error: Can't resolve './providers/google' in '/.../node_modules/worker-auth-providers/src'
Did you mean 'index.js'?
BREAKING CHANGE: The request './providers/google' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/worker.ts 10:32-64
@ ./src/index.ts 3:17-36
ERROR in ./node_modules/worker-auth-providers/src/index.js 3:0-46
Module not found: Error: Can't resolve './providers/aws-sns' in '/.../node_modules/worker-auth-providers/src'
Did you mean 'index.js'?
BREAKING CHANGE: The request './providers/aws-sns' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/worker.ts 10:32-64
@ ./src/index.ts 3:17-36
ERROR in ./node_modules/worker-auth-providers/src/index.js 4:0-45
Module not found: Error: Can't resolve './providers/twilio' in '/.../node_modules/worker-auth-providers/src'
Did you mean 'index.js'?
BREAKING CHANGE: The request './providers/twilio' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/worker.ts 10:32-64
@ ./src/index.ts 3:17-36
ERROR in ./node_modules/worker-auth-providers/src/index.js 5:0-49
Module not found: Error: Can't resolve './providers/facebook' in '/.../node_modules/worker-auth-providers/src'
Did you mean 'index.js'?
BREAKING CHANGE: The request './providers/facebook' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/worker.ts 10:32-64
@ ./src/index.ts 3:17-36
ERROR in ./node_modules/worker-auth-providers/src/index.js 6:0-47
Module not found: Error: Can't resolve './providers/discord' in '/.../node_modules/worker-auth-providers/src'
Did you mean 'index.js'?
BREAKING CHANGE: The request './providers/discord' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/worker.ts 10:32-64
@ ./src/index.ts 3:17-36
ERROR in ./node_modules/worker-auth-providers/src/index.js 7:0-47
Module not found: Error: Can't resolve './providers/spotify' in '/.../node_modules/worker-auth-providers/src'
Did you mean 'index.js'?
BREAKING CHANGE: The request './providers/spotify' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/worker.ts 10:32-64
@ ./src/index.ts 3:17-36
ERROR in ./node_modules/worker-auth-providers/src/index.js 8:0-60
Module not found: Error: Can't resolve './providers/sendgrid-email' in '/.../node_modules/worker-auth-providers/src'
Did you mean 'index.js'?
BREAKING CHANGE: The request './providers/sendgrid-email' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/worker.ts 10:32-64
@ ./src/index.ts 3:17-36
ERROR in ./node_modules/worker-auth-providers/src/index.js 9:0-58
Module not found: Error: Can't resolve './providers/mailgun-email' in '/.../node_modules/worker-auth-providers/src'
Did you mean 'index.js'?
BREAKING CHANGE: The request './providers/mailgun-email' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/worker.ts 10:32-64
@ ./src/index.ts 3:17-36
I`m using webpack and unable to compile this.
Errors are:
webpack.config.js
tsconfig.json
package.json
Tries messing with webpack rules but no success.