nullstack / create-nullstack-app Goto Github PK
View Code? Open in Web Editor NEWThe fastest way to start using Nullstack.
The fastest way to start using Nullstack.
If pt-br system language is detected the Home screen should be in portuguese
Add project name to README.md instead of "Create Sample"
Add yarn to .gitignore
generate a .env file
this file must be added to .gitignore
maybe add some basic keys like
NULLSTACK_SECRETS_DATABASE_HOST
NULLSTACK_SECRETS_DATABASE_NAME
Please make suggestions about the default keys
Ao tentar criar um projeto com nullstack executando o comando orientado pela documentação:
npx create-nullstack-app project-name
O terminal me deu o seguinte erro:
npm ERR! code ENOLOCAL
npm ERC! Could not install form "User/AppData/Roamin/npm-cache/_npx/8952" as it does not contain a package.json file
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\usuario\AppDatazRoamin\npm-cache_logs2021-03-13T21_03_45_892Z-debug-lof
install for [ 'create-nullstack-app@latest' ] failed with code 1
npx create-nullstack-app without name is currently throwing an error:
internal/validators.js:124
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:124:11)
at Object.join (path.js:375:7)
at Object.<anonymous> (C:\Repositories\create-nullstack-app\index.js:7:28)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'ERR_INVALID_ARG_TYPE'
}
Ideally it would ask the user the project name instead.
The following formats should be accepted as answer:
Project Name
project-name
projectName
ProjectName
However the question should suggest the first format so the user don't spend time thinking about it
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.