moltar / projen-turborepo

Projen project type for Turborepo monorepo setup.
https://npm.im/projen-turborepo
MIT License
26 stars 2 forks source link

Error: Cannot find module 'projen-turborepo/.jsii' #1

Closed moltar closed 2 years ago

moltar commented 2 years ago
❯ npx projen new --from projen-turborepo --projenrc-ts
npx: installed 65 in 47.151s
/Users/foo/Development/tr-test
└── (empty)

+ projen@0.47.11
added 65 packages from 87 contributors and audited 65 packages in 2.398s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Wrote to /Users/foo/Development/tr-test/package.json:

{
  "name": "tr-test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "dependencies": {
    "projen": "0.47.11"
  },
  "devDependencies": {},
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "license": "ISC"
}

👾 installing external module projen-turborepo...
+ projen-turborepo@0.0.0
added 2 packages from 2 contributors and audited 67 packages in 3.708s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Error: Cannot find module 'projen-turborepo/.jsii'
Require stack:
- /Users/foo/.npm/_npx/48164/lib/node_modules/projen/lib/cli/cmds/new.js
- /Users/foo/.npm/_npx/48164/lib/node_modules/projen/node_modules/yargs/index.cjs
- /Users/foo/.npm/_npx/48164/lib/node_modules/projen/lib/cli/index.js
- /Users/foo/.npm/_npx/48164/lib/node_modules/projen/bin/projen
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
    at Function.resolve (internal/modules/cjs/helpers.js:98:19)
    at initProjectFromModule (/Users/foo/.npm/_npx/48164/lib/node_modules/projen/lib/cli/cmds/new.js:149:44)
    at Object.handler (/Users/foo/.npm/_npx/48164/lib/node_modules/projen/lib/cli/cmds/new.js:69:20)
    at Object.runCommand (/Users/foo/.npm/_npx/48164/lib/node_modules/projen/node_modules/yargs/build/index.cjs:446:48)
    at Object.parseArgs [as _parseArgs] (/Users/foo/.npm/_npx/48164/lib/node_modules/projen/node_modules/yargs/build/index.cjs:2697:57)
    at Function.get [as argv] (/Users/foo/.npm/_npx/48164/lib/node_modules/projen/node_modules/yargs/build/index.cjs:2651:25)
    at main (/Users/foo/.npm/_npx/48164/lib/node_modules/projen/lib/cli/index.js:29:21)
    at Object.<anonymous> (/Users/foo/.npm/_npx/48164/lib/node_modules/projen/lib/cli/index.js:46:1)
    at Module._compile (internal/modules/cjs/loader.js:1072:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/foo/.npm/_npx/48164/lib/node_modules/projen/lib/cli/cmds/new.js',
    '/Users/foo/.npm/_npx/48164/lib/node_modules/projen/node_modules/yargs/index.cjs',
    '/Users/foo/.npm/_npx/48164/lib/node_modules/projen/lib/cli/index.js',
    '/Users/foo/.npm/_npx/48164/lib/node_modules/projen/bin/projen'
  ]
}