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 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning statusfy > @statusfy/core > browser-sync > localtunnel > [email protected]: 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 > [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
warning statusfy > @statusfy/core > browser-sync > localtunnel > [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
warning statusfy > @statusfy/core > ics > @hapi/[email protected]: Switch to 'npm install joi'
warning statusfy > @statusfy/core > nuxt-i18n > @kazupon/[email protected]: 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 > [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning statusfy > @statusfy/core > nuxt-i18n > [email protected]: 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 > [email protected]: 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/[email protected]: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/[email protected]: Moved to 'npm install @sideway/address'
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/topo > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > nuxt > @nuxt/webpack > @nuxt/babel-preset-app > [email protected]: 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 > [email protected]: 3.x is no longer supported
warning statusfy > @statusfy/core > browser-sync > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning statusfy > @statusfy/core > browser-sync > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning statusfy > @statusfy/core > nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > [email protected]: 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 > [email protected]: 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 [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning "statusfy > @statusfy/[email protected]" has unmet peer dependency "@statusfy/[email protected]".
warning "statusfy > @statusfy/core > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "statusfy > @statusfy/core > [email protected]" has unmet peer dependency "vue@^2.5.17".
warning "statusfy > @statusfy/core > [email protected]" has unmet peer dependency "vue-template-compiler@^2.5.16".
warning "statusfy > @statusfy/core > v-tooltip > [email protected]" 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 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning statusfy > @statusfy/core > nodemon > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning statusfy > @statusfy/core > browser-sync > localtunnel > [email protected]: 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 > [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
warning statusfy > @statusfy/core > browser-sync > localtunnel > [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
warning statusfy > @statusfy/core > ics > @hapi/[email protected]: Switch to 'npm install joi'
warning statusfy > @statusfy/core > v-tooltip > [email protected]: 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/[email protected]: 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 > [email protected]: 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 > [email protected]: 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/[email protected]: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/[email protected]: Moved to 'npm install @sideway/address'
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > ics > @hapi/joi > @hapi/topo > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning statusfy > @statusfy/core > nuxt > @nuxt/webpack > [email protected]: 3.x is no longer supported
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning statusfy > @statusfy/core > browser-sync > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning statusfy > @statusfy/core > @nuxtjs/pwa > @nuxtjs/icon > jimp > @jimp/plugins > @jimp/plugin-dither > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning "statusfy > @statusfy/[email protected]" has unmet peer dependency "@statusfy/[email protected]".
warning "statusfy > @statusfy/core > [email protected]" has unmet peer dependency "webpack@^4.0.0".
warning "statusfy > @statusfy/core > [email protected]" has unmet peer dependency "vue@^2.5.17".
warning "statusfy > @statusfy/core > [email protected]" has unmet peer dependency "vue-template-compiler@^2.5.16".
warning "statusfy > @statusfy/core > v-tooltip > [email protected]" has unmet peer dependency "vue@^2.3.0".
warning "statusfy > @statusfy/core > nuxt-i18n > [email protected]" 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/[email protected] 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