ptkdev-boilerplate / node-cli-boilerplate Goto Github PK
View Code? Open in Web Editor NEW๐ช Create node cli with this user friendly boilerplate
Home Page: https://npmjs.com/package/@ptkdev/node-cli-boilerplate
License: Other
๐ช Create node cli with this user friendly boilerplate
Home Page: https://npmjs.com/package/@ptkdev/node-cli-boilerplate
License: Other
Run the npm run build
without errors.
There is an error during the build process.
$ npm run build
> @ptkdev/[email protected] build /<path>
> tsc
app/translations/translate.ts:10:21 - error TS2307: Cannot find module '@configs/config' or its corresponding type declarations.
10 import configs from "@configs/config";
~~~~~~~~~~~~~~~~~
app/utils/logger.ts:12:20 - error TS2307: Cannot find module '@configs/config' or its corresponding type declarations.
12 import config from "@configs/config";
~~~~~~~~~~~~~~~~~
Found 2 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ptkdev/[email protected] build: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ptkdev/[email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /<path>/.npm/_logs/2022-04-04T17_11_13_979Z-debug.log
npm install
npm run build
$ npm install
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
> [email protected] postinstall /<path>/node_modules/nodemon
> node bin/postinstall || exit 0
> @ptkdev/[email protected] prepare /<path>
> ts-patch install -s && husky install
husky - Git hooks installed
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/livereload/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1003 packages from 630 contributors in 41.758s
75 packages are looking for funding
run `npm fund` for details
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.