Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Can't get local preview #686

Open
ghost opened this issue Mar 18, 2021 · 4 comments
Open

Can't get local preview #686

ghost opened this issue Mar 18, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 18, 2021

Hi,

I am wanting to deploy Statusfy to Netlify.

However when I follow the documentation I get so many errors I am fairly new at this so I am sure its user error

npx statusfy init
start Starting installation
ℹ Please answer the following questions:
? Title of the Website Statusfy
? Description of the Website. (recommended) Used to provide operational stat
us of public facing services, sites & infastructure.
? Code of the Default Language (e.g. en-US) en-GB
? Default Front Matter format for your Incidents toml
? Format of the main Config file toml
? Choose a package manager yarn
✔ A new project of Statusfy was successfully created at /home/brandonm/Sites/statusfy

WARN Remember to run yarn install

[brandonm@brandon-labtop statusfy]$ yarn install
yarn install v1.22.5
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning statusfy > @statusfy/core > browser-sync > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning statusfy > @statusfy/core > browser-sync > localtunnel > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
warning statusfy > @statusfy/core > @nuxtjs/axios > axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
warning statusfy > @statusfy/core > browser-sync > localtunnel > axios@0.19.0: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
warning statusfy > @statusfy/core > ics > @hapi/joi@15.1.1: Switch to 'npm install joi'
warning statusfy > @statusfy/core > nuxt-i18n > @kazupon/vue-i18n-loader@0.4.1: WARNING: If you would like to use @kazupon/vue-i18n-loader that is released new features and bug fixes, you need to install @intlify/vue-i18n-loader.
warning statusfy > @statusfy/core > v-tooltip > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning statusfy > @statusfy/core > nuxt-i18n > vue-i18n-extensions@0.2.1: WARNING: If you would like to use vue-i18n-extensions that is released new features and bug fixes, you need to install @intlify/vue-i18n-extensions.
warning statusfy > @statusfy/core > browser-sync > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > nuxt > @nuxt/webpack > @nuxt/babel-preset-app > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > nuxt > @nuxt/webpack > html-webpack-plugin@3.2.0: 3.x is no longer supported
warning statusfy > @statusfy/core > browser-sync > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning statusfy > @statusfy/core > browser-sync > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning statusfy > @statusfy/core > nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning statusfy > @statusfy/core > @statusfy/common > tailwindcss > strip-comments > babel-plugin-transform-object-rest-spread > babel-runtime > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
[3/5] Fetching packages...
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning "statusfy > @statusfy/cli@0.5.0" has unmet peer dependency "@statusfy/common@0.5.0".
warning "statusfy > @statusfy/core > css-loader@3.4.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "statusfy > @statusfy/core > vue-svgicon@3.2.6" has unmet peer dependency "vue@^2.5.17".
warning "statusfy > @statusfy/core > vue-svgicon@3.2.6" has unmet peer dependency "vue-template-compiler@^2.5.16".
warning "statusfy > @statusfy/core > v-tooltip > vue-resize@0.4.5" has unmet peer dependency "vue@^2.3.0".
[5/5] Building fresh packages...
success Saved lockfile.
Done in 35.73s.
[brandonm@brandon-labtop statusfy]$ yarn dev
yarn run v1.22.5
$ statusfy dev
ℹ Reading configuration from config.toml
ℹ Preparing project for development
ℹ Initial build may take a while
✔ Builder initialized
✔ Nuxt files generated

✖ Client
Compiled with some errors in 799.77ms

ERROR Failed to compile with 1 errors

ERROR in ./.statusfy/client.js

Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: /home/brandonm/Sites/statusfy/.statusfy/client.js: Cannot find module '@babel/preset-env/lib/utils'
Require stack:

  • /home/brandonm/Sites/statusfy/node_modules/@nuxt/babel-preset-app/src/polyfills-plugin.js
  • /home/brandonm/Sites/statusfy/node_modules/@nuxt/babel-preset-app/src/index.js
  • /home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/config/files/module-types.js
  • /home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/config/files/configuration.js
  • /home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/config/files/index.js
  • /home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/index.js
  • /home/brandonm/Sites/statusfy/node_modules/babel-loader/lib/index.js
  • /home/brandonm/Sites/statusfy/node_modules/loader-runner/lib/loadLoader.js
  • /home/brandonm/Sites/statusfy/node_modules/loader-runner/lib/LoaderRunner.js
  • /home/brandonm/Sites/statusfy/node_modules/webpack/lib/NormalModule.js
  • /home/brandonm/Sites/statusfy/node_modules/webpack/lib/NormalModuleFactory.js
  • /home/brandonm/Sites/statusfy/node_modules/webpack/lib/Compiler.js
  • /home/brandonm/Sites/statusfy/node_modules/webpack/lib/webpack.js
  • /home/brandonm/Sites/statusfy/node_modules/@nuxt/webpack/dist/webpack.js
  • /home/brandonm/Sites/statusfy/node_modules/@nuxt/builder/dist/builder.js
  • /home/brandonm/Sites/statusfy/node_modules/nuxt/dist/nuxt.js
  • /home/brandonm/Sites/statusfy/node_modules/@statusfy/core/server/app.js
  • /home/brandonm/Sites/statusfy/node_modules/@statusfy/core/server/index.js
  • /home/brandonm/Sites/statusfy/node_modules/@statusfy/core/lib/utils/start-dev.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at PluginPass.Program (/home/brandonm/Sites/statusfy/node_modules/@nuxt/babel-preset-app/src/polyfills-plugin.js:15:34)
    at newFn (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/visitors.js:175:21)
    at NodePath._call (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/path/context.js:55:20)
    at NodePath.call (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/path/context.js:42:17)
    at NodePath.visit (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/path/context.js:92:31)
    at TraversalContext.visitQueue (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/context.js:116:16)
    at TraversalContext.visitSingle (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/context.js:85:19)
    at TraversalContext.visit (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/context.js:144:19)
    at Function.traverse.node (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/index.js:82:17)
    at traverse (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/index.js:62:12)
    at transformFile (/home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/transformation/index.js:107:29)
    at transformFile.next ()

@ multi eventsource-polyfill webpack-hot-middleware/client?reload=true&timeout=30000&ansiColors=&overlayStyles=&name=client&path=/__webpack_hmr/client ./.statusfy/client.js

ℹ Waiting for file changes
ℹ Server listening on http://127.0.0.1:8000
[Browsersync] Proxying: http://127.0.0.1:8000
[Browsersync] Access URLs:

   Local: http://localhost:3000
External: http://192.168.1.78:3000

      UI: http://localhost:3001

UI External: http://localhost:3001

^C
[brandonm@brandon-labtop statusfy]$ ls
ls
config.js content locales netlify.toml package.json public README.md
[brandonm@brandon-labtop statusfy]$ hugo server
Error: Unable to locate config file or config directory. Perhaps you need to create a new site.
Run hugo help new for details.

[brandonm@brandon-labtop statusfy]$ yarn dev
yarn run v1.22.5
$ statusfy dev
/bin/sh: line 1: statusfy: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[brandonm@brandon-labtop statusfy]$ yarn install
yarn install v1.22.5
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning statusfy > @statusfy/core > browser-sync > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning statusfy > @statusfy/core > nodemon > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning statusfy > @statusfy/core > browser-sync > localtunnel > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
warning statusfy > @statusfy/core > @nuxtjs/axios > axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
warning statusfy > @statusfy/core > browser-sync > localtunnel > axios@0.19.0: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
warning statusfy > @statusfy/core > ics > @hapi/joi@15.1.1: Switch to 'npm install joi'
warning statusfy > @statusfy/core > v-tooltip > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning statusfy > @statusfy/core > nuxt-i18n > @kazupon/vue-i18n-loader@0.4.1: WARNING: If you would like to use @kazupon/vue-i18n-loader that is released new features and bug fixes, you need to install @intlify/vue-i18n-loader.
warning statusfy > @statusfy/core > nuxt-i18n > vue-i18n-extensions@0.2.1: WARNING: If you would like to use vue-i18n-extensions that is released new features and bug fixes, you need to install @intlify/vue-i18n-extensions.
warning statusfy > @statusfy/core > browser-sync > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > nuxt > @nuxt/webpack > html-webpack-plugin@3.2.0: 3.x is no longer supported
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > nuxt > @nuxt/webpack > @nuxt/babel-preset-app > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/custom > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/types > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/custom > @jimp/core > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/custom > @jimp/core > mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-cover > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-color > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-contain > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-blit > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-flip > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-crop > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-gaussian > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-invert > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-print > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-mask > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-resize > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-rotate > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-scale > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/types > @jimp/bmp > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/types > @jimp/gif > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/types > @jimp/png > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > browser-sync > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning statusfy > @statusfy/core > browser-sync > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-dither > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-blur > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/types > @jimp/tiff > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-displace > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @statusfy/common > tailwindcss > strip-comments > babel-plugin-transform-object-rest-spread > babel-runtime > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/types > @jimp/jpeg > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-normalize > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning statusfy > @statusfy/core > nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/custom > @jimp/core > @jimp/utils > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
[3/5] Fetching packages...
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning "statusfy > @statusfy/cli@0.4.3" has unmet peer dependency "@statusfy/common@0.4.3".
warning "statusfy > @statusfy/core > css-loader@3.2.0" has unmet peer dependency "webpack@^4.0.0".
warning "statusfy > @statusfy/core > vue-svgicon@3.2.6" has unmet peer dependency "vue@^2.5.17".
warning "statusfy > @statusfy/core > vue-svgicon@3.2.6" has unmet peer dependency "vue-template-compiler@^2.5.16".
warning "statusfy > @statusfy/core > v-tooltip > vue-resize@0.4.5" has unmet peer dependency "vue@^2.3.0".
warning "statusfy > @statusfy/core > nuxt-i18n > acorn-dynamic-import@4.0.0" has incorrect peer dependency "acorn@^6.0.0".
[5/5] Building fresh packages...
success Saved lockfile.
Done in 22.82s.

@ghost
Copy link
Author

ghost commented Mar 18, 2021

If I open local host I get

in ./.statusfy/client.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: /home/brandonm/Sites/statusfy/.statusfy/client.js: Cannot find module '@babel/preset-env/lib/utils'
Require stack:

  • /home/brandonm/Sites/statusfy/node_modules/@nuxt/babel-preset-app/src/polyfills-plugin.js
  • /home/brandonm/Sites/statusfy/node_modules/@nuxt/babel-preset-app/src/index.js
  • /home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/config/files/module-types.js
  • /home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/config/files/configuration.js
  • /home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/config/files/index.js
  • /home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/index.js
  • /home/brandonm/Sites/statusfy/node_modules/babel-loader/lib/index.js
  • /home/brandonm/Sites/statusfy/node_modules/loader-runner/lib/loadLoader.js
  • /home/brandonm/Sites/statusfy/node_modules/loader-runner/lib/LoaderRunner.js
  • /home/brandonm/Sites/statusfy/node_modules/webpack/lib/NormalModule.js
  • /home/brandonm/Sites/statusfy/node_modules/webpack/lib/NormalModuleFactory.js
  • /home/brandonm/Sites/statusfy/node_modules/webpack/lib/Compiler.js
  • /home/brandonm/Sites/statusfy/node_modules/webpack/lib/webpack.js
  • /home/brandonm/Sites/statusfy/node_modules/@nuxt/webpack/dist/webpack.js
  • /home/brandonm/Sites/statusfy/node_modules/@nuxt/builder/dist/builder.js
  • /home/brandonm/Sites/statusfy/node_modules/nuxt/dist/nuxt.js
  • /home/brandonm/Sites/statusfy/node_modules/@statusfy/core/server/app.js
  • /home/brandonm/Sites/statusfy/node_modules/@statusfy/core/server/index.js
  • /home/brandonm/Sites/statusfy/node_modules/@statusfy/core/lib/utils/start-dev.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at PluginPass.Program (/home/brandonm/Sites/statusfy/node_modules/@nuxt/babel-preset-app/src/polyfills-plugin.js:15:34)
    at newFn (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/visitors.js:175:21)
    at NodePath._call (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/path/context.js:55:20)
    at NodePath.call (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/path/context.js:42:17)
    at NodePath.visit (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/path/context.js:92:31)
    at TraversalContext.visitQueue (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/context.js:116:16)
    at TraversalContext.visitSingle (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/context.js:85:19)
    at TraversalContext.visit (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/context.js:144:19)
    at Function.traverse.node (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/index.js:82:17)
    at traverse (/home/brandonm/Sites/statusfy/node_modules/@babel/traverse/lib/index.js:62:12)
    at transformFile (/home/brandonm/Sites/statusfy/node_modules/@babel/core/lib/transformation/index.js:107:29)
    at transformFile.next ()

@HarmlessSaucer
Copy link

Not sure it's definitely the same issue as I had, but for the 'babel' issue I experienced, I manually installed:
npm i @babel/preset-env@7.12.17 and then that fixed the issue.

@ghost
Copy link
Author

ghost commented Mar 23, 2021

@HarmlessSaucer So that seemed to get it running in a local environment thank you.

Quick question though

Did yours have a theme directory as I don't seem to have a theme directory with the css style sheet.

Just wondering what else I may be missing

@HarmlessSaucer
Copy link

@x1337x-sec great! Glad it worked for you too!

No, I didn't have a theme directory. I think by default the theme is built in.
You can however make a copy of a theme's folder in your project so that you can edit it and then use the following to utilise that customised version. For example I was using the bootstrap4 theme, but I made some tweaks. So I used the following:

theme:
    name: bootstrap4
    custom_dir: my-customised-theme/

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

No branches or pull requests

1 participant