Giter VIP home page Giter VIP logo

nocodb-seed's Issues

typescript --legacy-peer-deps

npm installing doesn't work.
On some remote environment, it's harder to thrown in the --legacy-peer-deps flag so it'd be nice to have a working solution in this repo. I can't test locally as my setup have other issues with Gyp and python versions, but this seems to be the first roadblock in hosting Noco on Dokku (open-source heroku-like hosting).

npm install error! about gyp

npm ERR! (Use node --trace-deprecation ... to show where the warning was created)
npm ERR! gyp info spawn /usr/bin/python2
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/data/application/nocodb-seed/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/data/application/nocodb-seed/node_modules/sqlite3/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/data/application/nocodb-seed/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/root/.node-gyp/16.7.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/16.7.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/data/application/nocodb-seed/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.node-gyp/16.7.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/data/application/nocodb-seed/node_modules/sqlite3',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: gyp failed with exit code: 1

Git install error

CentOS: 7.7 64bit
nodejs: 16.14.0
npm: 8.3.1

after installed,
get the error when run: Cannot find module 'nocodb'

npm run start

Error:

[email protected] start
 node index.js

node:internal/modules/cjs/loader:933
 const err = new Error(message);
             ^

Error: Cannot find module 'nocodb'
Require stack:
- /root/nocodb/nocodb-seed/index.js
   at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
   at Function.Module._load (node:internal/modules/cjs/loader:778:27)
   at Module.require (node:internal/modules/cjs/loader:1005:19)
   at require (node:internal/modules/cjs/helpers:102:18)
   at /root/nocodb/nocodb-seed/index.js:3:20
   at Object.<anonymous> (/root/nocodb/nocodb-seed/index.js:7:3)
   at Module._compile (node:internal/modules/cjs/loader:1103:14)
   at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
   at Module.load (node:internal/modules/cjs/loader:981:32)
   at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
 code: 'MODULE_NOT_FOUND',
 requireStack: [ '/root/nocodb/nocodb-seed/index.js' ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.