Skip to content

Error with example repository #18

Open
@jpic

Description

@jpic

Hello !

First, I want to personally thank you for making this really cool module !

However, I have some issues running the example, here is my example repo where i reproduced my use case:

$ webpack-cli
fs.js:120
    throw err;
    ^

Error: ENOENT: no such file or directory, open '/tmp/test-transcrypt-webpack/./__javascript__/webpack_entry.js'
    at Object.openSync (fs.js:449:3)
    at Object.readFileSync (fs.js:349:35)
    at /tmp/test-transcrypt-webpack/node_modules/py-loader/index.js:100:25
    at /tmp/test-transcrypt-webpack/node_modules/node-cmd/cmd.js:25:21
    at ChildProcess.exithandler (child_process.js:288:7)
    at ChildProcess.emit (events.js:197:13)
    at maybeClose (internal/child_process.js:978:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Note that transcrypt itself seems pretty happy:

$ transcrypt webpack_entry.py

Transcrypt (TM) Python to JavaScript Small Sane Subset Transpiler Version 3.7.16
Copyright (C) Geatec Engineering. License: Apache 2.0


Saving target code in: /home/jpic/src/test-transcrypt-webpack/__target__/org.transcrypt.__runtime__.js
Saving minified target code in: /home/jpic/src/test-transcrypt-webpack/__target__/org.transcrypt.__runtime__.js
Saving target code in: /home/jpic/src/test-transcrypt-webpack/__target__/test_transcrypt_webpack.js
Saving minified target code in: /home/jpic/src/test-transcrypt-webpack/__target__/test_transcrypt_webpack.js
Saving target code in: /home/jpic/src/test-transcrypt-webpack/__target__/webpack_entry.js
Saving minified target code in: /home/jpic/src/test-transcrypt-webpack/__target__/webpack_entry.js

Ready

Do you think this is related to TranscryptOrg/Transcrypt#517 ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions