Comments (3)
This has been resolved in #315
from aws-pdk.
Hi @agdimech thank you for working on the issue! I'm afraid it is still not fixed though. I see the same npm error by the same reproduction step:
npm init -y
npm i aws-prototyping-sdk
npm ci
# expecting npm ci successes, but we get the below error:
# -> npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
Reproducible with aws-prototyping-sdk: 0.14.16
.
from aws-pdk.
Hi @agdimech I did a bit of research about this. The below is the command history when reproducing this issue:
$ npm install aws-prototyping-sdk
added 8 packages, and audited 119 packages in 20s
11 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
$ npm install
added 135 packages, and audited 254 packages in 9s
26 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
$ npm update
removed 135 packages, and audited 119 packages in 452ms
11 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
so 135 packages are missing right after running npm install aws-prototyping-sdk
, added after npm install
, and removed again after npm update
.
I found all of the 135 packages are from @nrwl/devkit
, and it is set as a bundledDependencies
less node_moduels/aws-prototyping-sdk/package.json
# we can find this.
"bundledDependencies": [
"@nrwl/devkit"
],
This issue should be fixed by removing this bundled dependency. The question is then why do we need this package as a bundled dependency?
It seems it is coming from this code:
https://github.com/aws/aws-prototyping-sdk/blob/f869d5de99b1ae853f3cdb5c8ab55d6ab033f1d9/private/projects/nx-monorepo-project.ts#L22
Reading through this stackoverflow comment, I don't see much reason to do that.
from aws-pdk.
Related Issues (20)
- [BUG] pdk new monorepo-ts fails with missing dependency "mustache" HOT 2
- [BUG] projen generates inconsistent path separator for windows users HOT 4
- [BUG] sharp issue for new pdk project HOT 1
- [DOCS] update docs to reflect BUN support HOT 1
- [BUG] (cannot create new monorepo-py) HOT 1
- [BUG] graph plugin does not respect per-diagram FilterPlan config HOT 1
- test
- [FEATURE] test
- [FEATURE] (short issue description)
- [BUG] Upgrade Deps issues HOT 5
- [BUG] CDK deployment fails due to missing modules HOT 2
- [BUG] aenum based unit tests seem broken HOT 4
- [DOCS] Inconsistent monorepo const name HOT 3
- [BUG] Issue with CloudscapeReactTsWebsiteProject package name with InfrastructureTsProject HOT 2
- [BUG] unmet peer projen@^0.76.25: found 0.77.3 HOT 3
- [BUG] [type-safe-api] Error: Path /path contains unsupported methods summary, description, parameters. Supported methods are get, put, post, delete, options, head, patch, trace. HOT 2
- [DOCS] Add Windows/WSL onboarding to Getting Started Page HOT 1
- [BUG] Python pdk command "Cannot find module '../lib/cli.js'" HOT 2
- [BUG] Current stable python version (3.11) requires an explicit installation of 3.11 dependencies in .projenrc
- [FEATURE] (type-safe-api) Ability to configure runtime/language versions in one place
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 aws-pdk.