You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the commands in the Development section, point 4 of readme.me but I got this error!
What's wrong?
Thank you.
bash ❯ yarn run init
yarn run v1.22.5
$ rm -rf .insights && ./packages/insights/bin/insights-init --dev
Welcome to Insights v0.0.72!
This script will create a folder ".insights", which will be used to store
config data. Please add it to .gitignore if you're running this script
inside a project folder!
Do you wish to setup Insights in "login" mode, requiring authentication to
access the interface or in standalone "loginless" mode, which is practical
only when running in localhost.
Setup Insights in "login" mode? (Y/n): n
Creating folder: /home/seifeslimene/insights/.insights
(node:19621) UnhandledPromiseRejectionWarning: Error: Cannot find module 'insights-api/lib/app'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/seifeslimene/insights/packages/insights/app/create-superuser.js:7:13)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at initInsights (/home/seifeslimene/insights/packages/insights/app/init.js:89:27)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:19621) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:19621) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
I followed the commands in the Development section, point 4 of readme.me but I got this error!
What's wrong?
Thank you.
The text was updated successfully, but these errors were encountered: