nuxt-template | Nuxt Template
kandi X-RAY | nuxt-template Summary
kandi X-RAY | nuxt-template Summary
Nuxt Template (Typescript + Composition API)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nuxt-template
nuxt-template Key Features
nuxt-template Examples and Code Snippets
Community Discussions
Trending Discussions on nuxt-template
QUESTION
Hello? Leave a question.
I am currently trying to deploy nuxt using a resource called web app in azure.
I configured HOST 0.0.0.0 in the created web app resource.
The result of the git action was successful. If you connect with the URL and check the log stream, an error is displayed.
...ANSWER
Answered 2020-Dec-02 at 02:57"start": "cross-env PORT=8080 nuxt start",
Why you add cross-env
command in package.json
files?
First of all, we need to clarify what problem cross-env
solves and was born. Mainly to solve the problem of environment variables under windows
. And your webapp is deployed under linux
, the current problems, after my attempts, I initially think that we do not have sudo
permissions, can not install cross-env
globally.
Then in azure, only ports 80
and 443
are supported, cross-env PORT=8080 nuxt start
, even if the dependencies of cross-env
exist in the linux environment, an error will be reported. Because the specified port 8080
is not supported.
So just remove cross-env PORT=8080
.
In package.json
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nuxt-template
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page