Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

just run near deploy cmd can't generate neardev folder #73

Open
IsQiao opened this issue Sep 12, 2021 · 1 comment
Open

just run near deploy cmd can't generate neardev folder #73

IsQiao opened this issue Sep 12, 2021 · 1 comment

Comments

@IsQiao
Copy link

IsQiao commented Sep 12, 2021

according to README.md, can't generate neardev folder, run npm start echo some errors:

Error: Failed to find .env file at path: ./neardev/dev-account.env
    at getEnvFile (/Users/qiao/projects/rust-status-message/node_modules/env-cmd/dist/get-env-vars.js:40:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `npm run build && npm run build:web && env-cmd -f ./neardev/dev-account.env parcel ./frontend/index.html`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start 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!     /Users/qiao/.npm/_logs/2021-09-12T06_33_23_203Z-debug.log

solution:

run deploy:dev, all is successful.

@IsQiao IsQiao changed the title just run near deploy cmd can't generate neardev folder just run near deploy cmd can't generate neardev folder Sep 12, 2021
@anhtuanbkcse
Copy link

Use dev-deploy instead of deploy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants