willin posted a new question
nuxtent-template •
ERROR Failed to compile with 1 errors 16:59:18
This dependency was not found:
* /Users/willin/Documents/websites/my-site/.nuxt/client.js in multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
To install it, you can run: npm install --save /Users/willin/Documents/websites/my-site/.nuxt/client.js
OPEN http://localhost:3000
cesasol posted a new bug report
nuxtent-template •
On a large site (157 files on 7 content groups), run generate a
Find a way to reduce the ram usage and improve build time
The memory usage goes up to 900mb and the local server is responding to slow so it takes to long to build the site
This proyect is using the development branch as a submodule and now that it reaching it's final state broke the CD setup by exausting the memory all of the content files are used as components using the latest features offered by the new version.
renestalder posted a new feature request
nuxtent-template •
To this moment, in my understanding, there are two API configuration parameters that are essential for making a successful build: baseURL and browserBaseURL. Also, as I understand it, those parameters mainly come from axios.
The current documentation only contains a browserBaseURL example showing the condition between static and non-static. But in my tests, this mostly isn't enough.
To that point, I couldn't make nuxtent running with local dev server, local nuxt generate and remote nuxt generate at the same time.
While I got local nuxt generate and local nuxt server running at some point, struggles begin when trying to do the same in production mode.
The documentation IMHO doesn't show all possibilities, I completely misunderstand how it should work or the module is broken in some way. As I think it's more a problem of the documentation on not a bug, I'm looking for more complete examples for the configuration.
isStatic
and NODE_ENV.Based on all the issues I've read through, it's not clear enough. I really would like to send a push request for this, but as you see, I struggle myself. So If you don't mind explaining this in more detail so I understand it, I'd love to send in a proposal for more clear documentation.
teamgroove posted a new question
nuxtent-template •
https://nuxtent-template.now.sh
is linked in the project-description on github:
karanrajpal14 posted a new question
nuxtent-template •
I tried to get this template running but alas, I'm unable to. I get this error:
ERROR Failed to compile with 1 errors 13:22:50
This dependency was not found:
* /home/karan/projects/nent-template/.nuxt/client.js in multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
To install it, you can run: npm install --save /home/karan/projects/nent-template/.nuxt/client.js
Any idea what's going on here?
stevebasford posted a new question
nuxtent-template •
Fresh install of nuxtent template, when clicking see your first post it returns this error. Please advise.
shortformblog posted a new question
nuxtent-template •
Receiving this error upon launch, which is preventing the page from displaying the desired content:
WARNING Compiled with 1 warnings 11:09:10 AM
warning in ./content/HelloWorld.comp.md
Module build failed: TypeError: Object.entries is not a function
at mergeParserRules (/Users/Ernie.Smith/Documents/nuxtent/sfb/node_modules/nuxtent/dist/loader.js:39:43)
at mdCompParser (/Users/Ernie.Smith/Documents/nuxtent/sfb/node_modules/nuxtent/dist/loader.js:95:31)
at Object.module.exports (/Users/Ernie.Smith/Documents/nuxtent/sfb/node_modules/nuxtent/dist/loader.js:124:20)
@ ./content \.comp\.md$
@ ./.nuxt/plugins.markdownComponents.template.4020a60a.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=3000&path=/__webpack_hmr ./.nuxt/client.js
dahrens posted a new question
nuxtent-template •
Currenty https://nuxtent-template.now.sh/ answers with 404 (like many pages related to nuxt and nuxtent did a few days ago).
alexeiaccio posted a new question
nuxtent-template •
Hello, I have the same error with nuxtent-template, and also with nuxtent-module\examples\markdown-components. At the dev & generate modes.
ERROR Failed to compile with 1 errors 12:44:41
This dependency was not found:
~\content in ./.nuxt/plugins.markdownComponents.3312f6eb.js
To install it, you can run: npm install --save ~\content
darisi posted a new question
nuxtent-template •
When loading hello-world/ page the .md content isn't displayed (shows just the title) and the inspector shows these errors:
[Vue warn]: Failed to mount component: template or render function not defined.
found in
---> <Anonymous>
<Pages/Content.vue> at pages/_content.vue
<Nuxt> at .nuxt/components/nuxt.vue
<Default> at layouts/default.vue
<Root>
and
Failed to load resource: the server responded with a status of 500 (NuxtServerError) (hello-world)
bayssmekanique posted a new question
nuxtent-template •
Getting error on fresh install
WARNING Compiled with 1 warnings 16:55:03
warning in ./content/HelloWorld.comp.md
Module build failed: TypeError: Cannot read property 'Symbol(Symbol.iterator)' of null
at getSection (C:\Users\Bayss\Downloads\my-site\node_modules\nuxtent\dist\loader.js:107:33)
at Object.module.exports (C:\Users\Bayss\Downloads\my-site\node_modules\nuxtent\dist\loader.js:54:19)
@ ./content \.comp\.md$
@ ./.nuxt/dist.plugin.238a682c.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?reload=true ./.nuxt/client.js
This is on a completely new/fresh install following the basic setup instructions.
System is Windows 10 (x64), Node 8.3.0, npm 5.3.0, vue-cli 2.8.2.
giodamelio posted a new question
nuxtent-template •
When I created a fresh project using the vue-cli
command, the first thing I get after I run yarn build
then yarn start
is an TypeError
.
Nuxt.js Error:
TypeError: inject is not a function
at module.exports.__webpack_exports__.default (server-bundle.js:1373:3)
at _callee$ (server-bundle.js:1088:20)
at tryCatch (/home/giodamelio/tmp/nuxtent-test/node_modules/regenerator-runtime/runtime.js:65:40)
at Generator.invoke [as _invoke] (/home/giodamelio/tmp/nuxtent-test/node_modules/regenerator-runtime/runtime.js:303:22)
at Generator.prototype.(anonymous function) [as next] (/home/giodamelio/tmp/nuxtent-test/node_modules/regenerator-runtime/runtime.js:117:21)
at step (server-bundle.js:228:30)
at server-bundle.js:239:13
at <anonymous>
STnetwork posted a new question
nuxtent-template •
Hi,
When I yarn generate
, I have this message : TypeError: Nuxt is not a constructor
[root@xx]# yarn generate
yarn generate v0.27.5
$ HOST=myipvps PORT=3000 nuxtent generate
nuxt:generate Generating... +0ms
/home/nginx/domains/xx.fr/public/xx/node_modules/nuxtent/bin/nuxtent-generate:58
const nuxt = new Nuxt(options)
^
TypeError: Nuxt is not a constructor
at Object.<anonymous> (/home/nginx/domains/xx.fr/public/xx/node_modules/nuxtent/bin/nuxtent-generate:58:14)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/nginx/domains/xx.fr/public/xx/node_modules/nuxtent/bin/nuxtent:26:1)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Function.Module.runMain (module.js:609:10)
at startup (bootstrap_node.js:158:16)
error Command failed with exit code 1.
here my package.json :
{
"name": "stnetwork",
"version": "1.0.0",
"description": "Nuxt.js Content Site",
"author": "",
"private": true,
"dependencies": {
"@nuxtjs/axios": "latest",
"nuxt": "1.0.0-alpha.3",
"nuxtent": "^0.2.77"
},
"scripts": {
"dev": "HOST=myipvps PORT=3000 nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "HOST=myipvps PORT=3000 nuxtent generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"deploy": "push-dir --dir=dist --branch=gh-pages --cleanup",
"precommit": "npm run lint"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"eslint": "^3.15.0",
"eslint-config-standard": "^6.2.1",
"eslint-loader": "^1.6.1",
"eslint-plugin-html": "^2.0.0",
"eslint-plugin-promise": "^3.4.1",
"eslint-plugin-standard": "^2.0.1"
}
}
my nuxtent.config.json :
module.exports = {
content: {
permalink: ':slug',
page: '/_content',
generate: [ // for static build
'get', 'getAll'
],
isPost: false
},
api: {
baseURL: process.env.NODE_ENV === 'production'
? 'http://myipvps:3000'
: 'http://myipvps:3000'
}
}
hackuun posted a new question
nuxtent-template •
Hello. Awful starting experience I have.
First I notice bug in demo.
Then I tried to use starter locally, and it instantly throws me an error.
Nuxt.js Error:
Error: render function or template not defined in component: anonymous
hackuun posted a new question
nuxtent-template •
If you go to this page and update it, content is gone - https://nuxtent-template.now.sh/hello-world
Is it just broken demo, or issue with Nuxtent?
STnetwork posted a new question
nuxtent-template •
Hi,
When I generate static with the command yarn generate
, I am able to access to the main page but I can't access to https://mydomain.com/hello-world, it's only work in dev with yarn run dev
http://myipvps:3000/hello-world
my nuxtent.config.js :
module.exports = {
content: {
permalink: ':slug',
routes: [
{
path: '/_content',
method: 'get'
}
],
isPost: false
},
api: {
baseURL: process.env.NODE_ENV === 'production'
? 'https://mydomain.com'
: 'http://myipvps:3000'
}
}
my package.json :
{
"name": "stnetwork",
"version": "1.0.0",
"description": "Nuxtjs Buefy",
"author": "",
"private": true,
"dependencies": {
"nuxtent": "latest",
"nuxt": "1.0.0-alpha.3",
"@nuxtjs/axios": "latest"
},
"scripts": {
"dev": "HOST=myipvps nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"deploy": "push-dir --dir=dist --branch=gh-pages --cleanup",
"precommit": "npm run lint"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"eslint": "^3.15.0",
"eslint-config-standard": "^6.2.1",
"eslint-loader": "^1.6.1",
"eslint-plugin-html": "^2.0.0",
"eslint-plugin-promise": "^3.4.1",
"eslint-plugin-standard": "^2.0.1"
}
}
http://myipvps:3000/hello-world , that works
https://mydomain.com, that works
https://mydomain.com/hello-world, doesn't work (404 Page not found, nginx)
Thanks
levibostian posted a new question
nuxtent-template •
How to reproduce:
vue init nuxt-community/nuxtent-starter my-site
cd my-site
npm install
npm run dev
Go to localhost:3000
in browser and click on "See your first post". I get a 500 error Nuxt network error page:
The terminal output not very helpful indicating no errors:
Console also not super helpful to help debug issue:
I did not make any modifications to the project once I generated it via the vue-cli.