I had some trouble to display my project in FF cause of shadow_dom. I read that the shadow_dom package is deprecated so I followed the steps in http://pub.dartlang.org/packages/web_components and added web_components to my project.
Now I can build and run my project in FF. However when I include packages/web_components/platform.js and run my project in dartium it displays without css whereever I use shadow_dom. I also get the following error :
ShadowDOMPolyfill polyfill was loaded in Dartium. This will not work.
This indicates that Dartium's Chrome version is not compatible with
this version of web_components.
How to solve this ?
Related
I am developing a project in VS2019. When I compile it, I receive the following warning:
warning : Your project specifies TypeScriptToolsVersion 3.7, but a matching compiler was not found. The latest available TypeScript compiler will be used (3.8). To remove this warning, install the TypeScript 3.7 SDK or update the value of TypeScriptToolsVersion.
I was trying to find where TypeScript version is specified but I did not find it. Microsoft.TypeScript.targets does not define it, however, if it would, I think I could change the value by not modifying that file directly.
Where can I fix that?
Jaime
Go to your project Properties -> "TypeScript build" tab and in the field: "TypeScript version" either choose specific version or select "Use latest available"
Look for TypeScriptToolsVersion tags in your csproj files and update to required version.
#BogdanRB answer above only displayed "Use latest available" and "4.2" for me. I did some research and apparently "4.2" is the SDK version installed together with Visual Studio 2019 (which I couldn't remove since it's required for lots of other VS components).
I was working on a legacy project that uses TypeScript "3.1.1", the version specified in package.json installed via npm. In order to line up the editor's IntelliSense and the compilation, and avoid using unsupported TS syntax, I've opened my ASP.NET Core MVC .csproj file and removed the following line:
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
Now Visual Studio's IntelliSense is compatible with the one specified in the npm package. It even works inside *.vue templates, in case you're using Vue with TypeScript.
dI am trying to get back into Dart programming after a year of break. When I last used Dart I use the DartEditor, which has since been deprecated. Now, I am trying to use WebStorm, and Dartium to run the standard dart project templates.
When I build the Uber Simple Web Application, I can get Webstorm to start the Dartium browser and display the page, but I cannot get it to stop at a breakpoint. When I build the Polymer Web Application, WebStorm starts the Dartium browser, but never displays the page - the request is made but nothing happens!
I can open the projects with a standard browser without an issue.
I have installed the JetBrains IDE Support plugin.
Dartium version: 45.0.2454.104
Webstorm version: 2016.1.1 bld 145.597
Dart version: 1.16.0
There is currently an issue in WebStorm that breaks showing applications in Dartium related to caching. The pub serve window in WebStorm should show on which port your application is served. if you open the URL in Dartium using this port
http://localhost:thePort/index.html
then it should work.
An update containing a fix for this issue was announced for this week.
WebStorm 2016.1.2 and IntelliJ IDEA 2016.1.2 official releases are published now, all known problems regarding SDK 1.16 are fixed there.
I've been trying Dart x64 for a month (under Windows 8).
Unfortunately, I've removed the "\Users\$user\AppData\Roaming\Pub\" folder. After that any Dart/Polymer project (including shipped samples like sunflower) stops showing anything in a browser without any error or exception.
I deleted the \dart folder, and some other dart folders that I'd found (\Users\$user\Application Data\Pub\, \Users\$user\.dartium\, \Users\$user\DartEditor\).
Then I'd reinstalled the Dart x64 (unpack zip-file), but problem still remains.
Then I'd removed Dart x64 and installed Dart ia32. In this case projects build with errors (can't find files from standard package), but work well in the Dartium browser.
I'd like to completely remove Dart and reinstall the new one. Can anyone help me start from scratch with Dart?
UPDATE:
I've deleted following Dart artifacts:
C:\Users\$user\dart\
C:\Users\$user\DartEditor\
"C:\Users\$user\Application Data.stagehand"
"C:\Users\$user\Application Data\Pub\"
C:\Users\$user.dartium\
C:\Users\$user\AppData\Local.dartServer\
But got the problem, described in the How to make Dart Editor find referenced packages thread.
So question still actual.
Is just nor working, it Works if I run the proyect as JavaScript but not if a run it on Dartium, I removed all the extensions from Chrome, I reinstalled Dart and I still have the same problem.
Edit: I get this exception in the editor:
ReferenceError: fill most visited is not defined [id=1]
Dart Editor version 1.8.5.release (STABLE)
Dart SDK version 1.8.5
Window 8.1 64
What can I do?
OK I fixed the problem deleting the folder AppData\Local\Google\Chrome, now is working, thanks.
I am attempting set up Netbeans 7.1 as my RoR editor. When trying to install plugins I get the following error:
Some plugins require plugin HTML Editor Library to be installed. The
plugin HTML Editor Library is requested in version >= 1.21 (release
version 1) but only 2.0.1 (of release version different from 1) was
found. The following plugin is affected:
Embedded Ruby (RHTML)
I looked for this HTML plugin so I could install it but I can't seem to find it anywhere.
It seems that the Ruby on Rails plugin has some problem (i.e. does not support) Netbeans 7.1 and 7.2. But it works with version 6.9 and 7.
Reference: http://plugins.netbeans.org/plugin/38549/ruby-and-rails
If I'm not wrong this is the lovely 207075 from the bugtracker: https://netbeans.org/bugzilla/show_bug.cgi?id=207075
In fact there's a workaround for this issue:
http://blog.enebo.com/2012/01/workaround-for-ruby-support-on-netbeans.html
good luck.
If you want to install it on a newly downloaded Netbeans (7.1 in my case), you should first go to Tools > Plugins, select Updates Tab and install the updates. Then, after restart, you'll go to the mentioned above Plugins, and now you will able to install all the required updates (HTML Editor will be among them.)
Lastl thing, as #skripted already mentioned, just install the plugin by following the instructions on this page.