Comments (4)
@ryanbell1997 Are you able to run the command npm install --save-dev serverless-iam-roles-per-function
within that workflow to ensure that the plugin is installed with npm and try again?
from serverless.
Hey @garethmcc I can do. I did try adding it as a separate line, but I had the same issue. 🤔
from serverless.
Now I'm getting this
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'timers' imported from /home/runner/.serverless/releases/4.0.[13](https://github.com/RyanBellOrg/UserProfileLambdas/actions/runs/9085925608/job/24970390196#step:12:14)/package/dist/sf-core.js
at new NodeError (internal/errors.js:322:7)
at packageResolve (internal/modules/esm/resolve.js:732:9)
at moduleResolve (internal/modules/esm/resolve.js:773:18)
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:887:11)
at Loader.resolve (internal/modules/esm/loader.js:89:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:242:28)
at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:76:40)
at link (internal/modules/esm/module_job.js:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
Why do I need timers? :-)
I did try npm install timers, but no luck.
from serverless.
This was solved by using Nodejs v20+.
from serverless.
Related Issues (20)
- serverless config credentials HOT 4
- V4 - Include original error message after our custom error messages when resolving AWS Credentials HOT 1
- V4: Unrecognized command “plugin install” v4.0.26 HOT 6
- Serverless4: Using esbuild's "packages: external" flag doesn't seem to work HOT 3
- Serverless4: Unable to Ensure that the Prisma libquery Engine and schema.prisma are Included in my Bundle HOT 7
- Support MFA Prompt when using an AWS Profile
- V4 progress spinner conflicts with plugins HOT 1
- Error: Cannot find module 'serverless/lib/serverless-error' While installing the appsync plugin HOT 2
- Dev Mode instruments all functions across multiple services if run in parent folder
- Ensure Bref works with Serverless Framework V.4 HOT 1
- Ensure Lift works with Serverless Framework V.4 HOT 7
- v3: Error: Cannot use 'publicReadAccess' property on a bucket without allowing bucket-level public access through 'blockPublicAceess' property. HOT 2
- Resolvers error regarding `replace`
- Serverless V4 deployment Error HOT 2
- Serverless command "offline" not found
- Unable to set `maximumConcurrency` on `events.sqs`
- Dev Mode does not close on the first CTRL+C
- Dev Mode occassionally misses prefixed and colored hyphen
- Documentation is not updated about the v3 HOT 1
- Encountering "Internal Serverless Error" in commands
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless.