Comments (3)
You can use all libraries compatible with Node.js so if you want, for example, postgre you can install node-postgre
from vuido.
i am trying to use sqlite3.
when I run build or build:dev i get some errors:
`WARNING in ./node_modules/sqlite3/lib/sqlite3.js 4:14-35
Critical dependency: the request of a dependency is an expression
@ ./src/MainWindow.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/MainWindow.vue?vue&type=script&lang=js&)
@ ./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue
@ ./src/main.js
WARNING in ./node_modules/node-pre-gyp/lib/pre-binding.js 20:22-48
Critical dependency: the request of a dependency is an expression
@ ./node_modules/node-pre-gyp/lib/node-pre-gyp.js
@ ./node_modules/sqlite3/lib/sqlite3.js
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue
@ ./src/main.js
WARNING in ./node_modules/node-pre-gyp/lib/util/versioning.js 17:20-67
Critical dependency: the request of a dependency is an expression
@ ./node_modules/node-pre-gyp/lib/pre-binding.js
@ ./node_modules/node-pre-gyp/lib/node-pre-gyp.js
@ ./node_modules/sqlite3/lib/sqlite3.js
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue
@ ./src/main.js
WARNING in ./node_modules/node-pre-gyp/lib/util/compile.js
Module not found: Error: Can't resolve 'npm' in 'C:\Users\rgalli\www\vuido\test\node_modules\node-pre-gyp\lib\util'
@ ./node_modules/node-pre-gyp/lib/util/compile.js
@ ./node_modules/node-pre-gyp/lib sync ^./.*$
@ ./node_modules/node-pre-gyp/lib/node-pre-gyp.js
@ ./node_modules/sqlite3/lib/sqlite3.js
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue
@ ./src/main.js
WARNING in ./node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html 1:0
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
<!doctype html>
|
|
@ ./node_modules/node-pre-gyp/lib sync ^./.*$ ./util/nw-pre-gyp/index.html
@ ./node_modules/node-pre-gyp/lib/node-pre-gyp.js
@ ./node_modules/sqlite3/lib/sqlite3.js
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue
@ ./src/main.js
WARNING in ./node_modules/node-gyp/lib/Find-VS2017.cs 7:6
Module parse failed: Unexpected token (7:6)
You may need an appropriate loader to handle this file type.
| // Usage:
| // powershell -ExecutionPolicy Unrestricted -Version "2.0" -Command "&{Add-Type -Path Find-VS2017.cs; [VisualStudioConfiguration.Main]::Query()}"
using System
| using System.Text
| using System.Runtime.InteropServices
@ ./node_modules/node-gyp/lib sync ^./.$ ./Find-VS2017.cs
@ ./node_modules/node-gyp/lib/node-gyp.js
@ ./node_modules/node-pre-gyp/lib/util/compile.js
@ ./node_modules/node-pre-gyp/lib sync ^./.$
@ ./node_modules/node-pre-gyp/lib/node-pre-gyp.js
@ ./node_modules/sqlite3/lib/sqlite3.js
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue?vue&type=script&lang=js&
@ ./src/MainWindow.vue
@ ./src/main.js`
my environment
node: v10.15.1 npm: 6.4.1 windows: 10 visual studio code 2017
from vuido.
just solved this with a small webpack adjustment:
externals: { sqlite3: 'commonjs sqlite3' },
from vuido.
Related Issues (20)
- the image is ok,in libui
- Drag and Drop
- Howto convert an existing web application based on vue HOT 3
- cant install HOT 3
- Text alignment
- Error: TextInput does not have attribute type HOT 2
- Can't use spread operator. HOT 1
- Only update when the mouse moves in front of the window? HOT 5
- System tray support HOT 1
- issues with Area
- mimec.org SSL Cert invalid HOT 1
- Can you build a menu in Vuido? HOT 1
- Could not locate bindings for midi-node HOT 1
- Custom ui, design? HOT 2
- Is this Project Dead? HOT 8
- SSL cert issue on https://vuido.mimec.org/ HOT 2
- error on new project
- Error on npm install HOT 1
- Video Player
- Chaos#3844 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuido.