-
Notifications
You must be signed in to change notification settings - Fork 35
Description
#node v6.9.1 npm 4.0.2 windows 10 64 bit
slc loopback
tried loopback 2,x and 3.x with empy and note sample
applied changes from wiki like so:
note: the wiki starts with a very wrong vommand "npm ssh://https://github.com/ISBX/isbx-loopback-cms.git"
1, npm install https://github.com/ISBX/isbx-loopback-cms.git --save
2. copy boot-cms.js
3. set RoleMapping and Role to be public
4. created CMS/config.json - why ist the defaulte port 3005 in the CMS/config.json !? doesnt have any effect!?
btw: http://localhost:3000/cms/ give a blank page with a lot of errors:
Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:3000/cms/vendor/jquery-resizable-columns/dist/jquery.resizableColumns.css".
localhost/:16 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:3000/cms/vendor/bootstrap3-datetimepicker/build/css/bootstrap-datetimepicker.min.css".
localhost/:21 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:3000/cms/css/custom.css"
Refused to execute script from 'http://localhost:3000/cms/config.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
localhost/:1 Not allowed to load local resource: file:///C:/loopback-cms2/node_modules/isbx-loopback-cms/client/app/app.js
localhost/:1 Not allowed to load local resource: file:///C:/loopback-cms2/node_modules/isbx-loopback-cms/client/app/dashboard/alert/Alert.js
localhost/:1 Not allowed to load local resource: file:///C:/loopback-cms2/node_modules/isbx-loopback-cms/client/app/dashboard/Dashboard.js
localhost/:1 Not allowed to load local resource: file:///C:/loopback-cms2/node_modules/isbx-loopback-cms/client/app/dashboard/model/DashboardModel.js
localhost/:1 Not allowed to load local resource: file:///C:/loopback-cms2/node_modules/isbx-loopback-cms/client/app/dashboard/model/DashboardModelAction.js
localhost/:1 Not allowed to load local resource: file:///C:/loopback-cms2/node_modules/isbx-loopback-cms/client/app/dashboard/model/definition/ModelDefinition.js
[...]
what's wrong? thx