Comments (4)
Can you run yarn install --frozen-lockfile --non-interactive
locally to see how it goes?
from serverless-webpack.
Hi @j0k3r running locally
$ yarn install --frozen-lockfile --non-interactive
yarn install v1.22.19
[1/4] 🔍 Resolving packages...
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
warning Resolution field "[email protected]" is incompatible with requested version "json5@^2.1.2"
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
warning Resolution field "[email protected]" is incompatible with requested version "minimatch@^3.1.1"
warning Resolution field "[email protected]" is incompatible with requested version "is-svg@^2.0.0"
warning Resolution field "[email protected]" is incompatible with requested version "minimatch@^5.0.1"
warning Resolution field "[email protected]" is incompatible with requested version "json5@^2.2.3"
warning Resolution field "[email protected]" is incompatible with requested version "json5@^0.5.1"
warning Resolution field "[email protected]" is incompatible with requested version "minimatch@^3.1.2"
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
warning Resolution field "[email protected]" is incompatible with requested version "flat@^4.1.0"
warning Resolution field "[email protected]" is incompatible with requested version "degenerator@^2.2.0"
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
warning Resolution field "[email protected]" is incompatible with requested version "xml2js@~0.4.1"
warning Resolution field "[email protected]" is incompatible with requested version "json5@^2.1.2"
warning Resolution field "[email protected]" is incompatible with requested version "tar@^6.1.15"
warning Resolution field "[email protected]" is incompatible with requested version "flat@^5.0.2"
warning Resolution field "[email protected]" is incompatible with requested version "minimatch@^5.1.0"
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
success Already up-to-date.
✨ Done in 1.06s.
from serverless-webpack.
Hi @j0k3r i notice the error came up when include the private dependecy in forceInclude
- '@loanmarket/logger-core'
- '@loanmarket/logger-cloud-watch'
from serverless-webpack.
I just ran into this. I was using a package without it being installed, and it works in dev because some other package depended on it. But when webpacking, it shakes it out. So make sure you are including all packages you are importing from explicitly in package.json
from serverless-webpack.
Related Issues (20)
- Webpack generating wrong symlink to package.json and node_modules on build HOT 1
- Duplicate "Setting artifact for function" logs (possible redundant calls to `setArtifactPath`?) HOT 2
- Typescript webpack still doesn't work, please help HOT 4
- Webpack doesn't respect --package flag when using deploy command HOT 1
- Allow glob or regex strings for forceExclude option HOT 2
- --webpack-use-polling Does not work with serverless offline start
- broken forceExclude for peerDep on node16(npm v. 8)
- if a function has an artifact set, webpack still create it's own
- sls invoke local won't work
- Individual packaging, dynamic config per compile step
- Run postInstall package script
- Allow generating ES Module (ESM) output from npm HOT 2
- yarn list --depth=1 --json --production failed with code 1 HOT 8
- ECR: do not assume a node runtime for image-based builds
- Runtime.ImportModuleError: Error: Cannot find module '@babel/runtime-corejs3/core-js-stable/json/stringify' HOT 5
- Help needed, excluding aws-sdk from Minimize build HOT 1
- .d.ts not recognize in serverless-webpack typescript HOT 2
- How to use `serverless webpack` to package "batches" of lambdas
- Error running serverless-webpack on Windows with latest Node LTS due to security update HOT 2
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-webpack.