Support Forum
Hi
I am trying, with no luck to upgrade my 1.2.2 to 2.2.. With no luck. So I tried to download from the customer portal, and see if I could run any example projects. But when i run npm install for Angular 7 example, I get this:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "..\_shared\dist\bryntum-angular-shared" as it does not contain a package.json file.
I am trying, with no luck to upgrade my 1.2.2 to 2.2.. With no luck. So I tried to download from the customer portal, and see if I could run any example projects. But when i run npm install for Angular 7 example, I get this:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "..\_shared\dist\bryntum-angular-shared" as it does not contain a package.json file.
There is no node_modules folder.
I have attached to debug.log file
I have attached to debug.log file
- Attachments
-
- 2019-08-14T11_09_26_229Z-debug.log
- (255.85 KiB) Downloaded 143 times
Angular 5/6 are broken when you start them as `npm run start`, but work if just build them as `npm run build`. I've created a ticket to get it fixed: https://app.assembla.com/spaces/bryntum/tickets/9046-angular-n-demos-are-broken/details
About angular-7 demo it works fine on both Mac OS and Windows 10 OS.
Please see my build log: Here is the commands I ran:
Please make sure you're are using the latest node version and try to repeat the commands I used to see if they work for you.
About angular-7 demo it works fine on both Mac OS and Windows 10 OS.
Please see my build log: Here is the commands I ran:
C:\Users\IEUser>node -v
#v10.16.1
C:\Users\IEUser>cd Desktop\scheduler-2.2.1\examples\angular\_shared
C:\Users\IEUser\Desktop\scheduler-2.2.1\examples\angular\_shared>npm install
C:\Users\IEUser\Desktop\scheduler-2.2.1\examples\angular\_shared>npm run build
C:\Users\IEUser\Desktop\scheduler-2.2.1\examples\angular\_shared>cd ..\angular-7
C:\Users\IEUser\Desktop\scheduler-2.2.1\examples\angular\angular-7>npm install
C:\Users\IEUser\Desktop\scheduler-2.2.1\examples\angular\angular-7>npm run start
Pavlo Miklashevych
Sr. Frontend Developer
Hi!
Angular issues with dev server (npm run start) were resolved.
You can wait for the latest nightly build or manually fix it by replacing poilyfill import in ../src/polyfills.ts file inside demo folder.
Replace this with
This should fix issues with Angular 5/6/7 demos.
Angular issues with dev server (npm run start) were resolved.
You can wait for the latest nightly build or manually fix it by replacing poilyfill import in ../src/polyfills.ts file inside demo folder.
Replace this
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
This should fix issues with Angular 5/6/7 demos.