John S

Results 115 comments of John S

Thank you for the reassurance Jacques! I've only been using Transcrypt for a few months now, but based on my experience so far, Transcrypt is a game changer for Python...

Just FYI, this same problem exists in the [parcel-plugin-transcrypt](https://www.npmjs.com/package/parcel-plugin-transcrypt) package as well. It works with the above workaround by adding replace() on line 46 in `asset.js` and changing it from...

For anyone interested, because the new version of Parcel uses a plugin system that is completely incompatible with the older version, I recently created and published a new [Python transformer...

@tcs-ulli the short answer is yes, it is. I've been using it over the past year to create React/Material-UI apps without having to write any JavaScript code, just Python. It...

If you `pip install transcrypt` you will get 3.9.0 which btw requires Python 3.9 to work properly (it's tied to the Python AST) To get the previous version for Python...

I know PyCharm does not provide autocomplete for JS in Python files. I'd imagine it can be done with a plug-in, however I do not think one has been created...

I think this is related to relative imports not currently being supported by Transcrypt as discussed in issue: https://github.com/QQuick/Transcrypt/issues/260

I'm getting the same thing. Running on linux. ``` Building index.html... ⚠️ Parser "parcel-plugin-transcrypt/asset.js" failed to initialize when processing asset "main.py". Threw the following error: Error: Cannot find module 'parcel-bundler/src/Logger'...

I was able to get it to work by manually creating these 3 files in their respective folders: [parcel-bundler/src/Logger.js](https://github.com/parcel-bundler/parcel/blob/b1e6d59cc44489f20013fa3171e09788978d7aed/packages/core/parcel-bundler/src/Logger.js) [parcel-bundler/src//utils/prettyError.js](https://github.com/parcel-bundler/parcel/blob/b1e6d59cc44489f20013fa3171e09788978d7aed/packages/core/parcel-bundler/src/utils/prettyError.js) [parcel-bundler/src//utils/emoji.js](https://github.com/parcel-bundler/parcel/blob/b1e6d59cc44489f20013fa3171e09788978d7aed/packages/core/parcel-bundler/src/utils/emoji.js)

No redundant files, you just need to add in three missing files required by the build process. It's a work around for an underlying issue, but it fixes the problem...