Giter Site home page Giter Site logo

devexpress / obsolete-devextreme-examples Goto Github PK

View Code? Open in Web Editor NEW
109.0 47.0 100.0 4.16 MB

A set of sample applications that will help you to get started.

JavaScript 20.89% HTML 7.57% C# 19.37% TypeScript 51.53% CSS 0.17% Vue 0.37% ASP.NET 0.09%
angular requirejs webpack rollup systemjs jspm devextreme

obsolete-devextreme-examples's People

Contributors

aden-git avatar alekseymartynov avatar alexslavr avatar anna-zhernovkova avatar antonsermyazhko avatar bingorus avatar dokarus avatar dxvladislavvolkov avatar goshafighten avatar groshenkovamarina avatar ilyakhd avatar ivanblinov2k17 avatar jacksonrr3 avatar jsdmitry avatar kvet avatar lukyanovas avatar mehul avatar mrjohn0011 avatar nickmitrokhin avatar nightskylark avatar olegkipchatov avatar ovchinnikov avatar romantsukanov avatar san4es avatar sergepilipchuk avatar tar-g avatar vconst avatar viterobk avatar yarovaya avatar zedwag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsolete-devextreme-examples's Issues

Can't install requirements for systemjs-angular-globalize

Hi,
When following the instructions on this README, I get the following error:

Whops {} deepEqual { url:
    [ 'https://github.com/unicode-cldr/cldr-core/archive/30.0.3.zip',
    'https://github.com/unicode-cldr/cldr-dates-mo
npm WARN [email protected] requires a peer of @angular/forms@>2.4.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Tested with Windows10, npm-5.6.0, node-v8.9.2 on branch 17_2.
Thanks in advance for any hint.

Cannot find name 'require'

When following the example intl for angular the IDE (Visual Studio Code) throws an exception:

Cannot find name 'require'.
image

The example should be updated to:

// devexpress locale
import { locale, loadMessages } from 'devextreme/localization';
import 'devextreme-intl';
// load localized messages (English included by default)
import * as messageXx from 'devextreme/localization/messages/xx.json';

RequireJS-Knockout 16.2 example does not work

In this line: https://github.com/DevExpress/devextreme-examples/blob/16_2/requirejs-knockout/index.html#L21, node_modules/devextreme should be replaced with devextreme_amd. But, this still gives errors in the console:

Script error for "devextreme/ui/selection/selection.strategy.deferred.js", needed by: devextreme/ui/selection/selection

Script error for "devextreme/ui/selection/selection.strategy.standard.js", needed by: devextreme/ui/selection/selection

My package.json:

{
  "name": "devextreme-requirejs-knockout",
  "version": "1.0.0",
  "description": "DevExtreme with RequireJS and Knockout example",
  "dependencies": {
    "devextreme": "~16.2.3",
    "r.js": "^1.0.3",
    "requirejs": "^2.3.2",
    "jquery": "^3.1.0",
    "knockout": "^3.4.0"
  },
  "scripts": {
    "postinstall": "r_js -convert node_modules/devextreme devextreme_amd"
  },
  "author": "DevExpress",
  "license": "MIT"
}

postinstall fails

"postinstall": "r_js -convert node_modules/devextreme devextreme_amd" fails on my system

Issue: Cannot read property 'length' of undefined when globalize is used

I run into the following error when npm start is executed following npm install. Please guide me on what am I doing wrong. I use angular2

Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
at createSourceFile (C:...\node_modules\types
cript\lib\typescript.js:8980:109)

at parseSourceFileWorker (C:...\node_modules\typescript\lib\typescript.js:8940:26)
at Object.parseSourceFile (C:...\node_modules\typescript\lib\typescript.js:8899:26)
at Object.createSourceFile (C:...\node_modules\typescript\lib\typescript.js:8727:29)
at WebpackCompilerHost.getSourceFile (C:...\node_modules@ngtools\webpack\src\compiler_host.js:2
10:27)

Running webpack-react in VS 2017

The webpack-react example runs in VSCode, but fails in Visual Studio 2017.

Steps to reproduce:

  1. Clone the repo to a local folder.
  2. Create a new node.js project in Visual Studio (JavaScript > Node.js > From Existing Node.js code)
  3. Select the webpack-react example folder from the repo.
  4. Right-click "npm" in solution explorer (install missing npm packages)
  5. Right-click "app.jsx" in solution explorer (Set as Node.js startup file)
  6. Press F5 (Web Server (Google Chrome))

Expected Results:

  1. Build succeeded
  2. Chrome opens in debugger mode (port 9900)
  3. Example content is displayed.
  4. Breakpoints (if set) hit in .jsx file on refresh from Chrome

Actual Results:

  1. Build succeeded.
  2. Console appears briefly, then closes - debugging session ends
  3. Chrome opens on random port => "This site can't be reached"

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.