Skip to content

Error: Can't resolve './..__target__src.main.js' #624

@jalbr74

Description

@jalbr74

Hi, I'm new to Transcrypt, but I love the concept!

I thought I'd try a simple "Hello World" project, but I'm running into the following error when I build using webpack:

ERROR in ./src/main.py
Module not found: Error: Can't resolve './..__target__src.main.js' in 'C:\project\src'
 @ ./src/main.py 1:0-44 1:0-44
 @ multi (webpack)-dev-server/client?http://localhost:8081 ./src/main.py

The only thing that stands out to me is the folder path:

./..__target__src.main.js

My guess is it should actually be:

./../__target__/src.main.js

I'm running on Windows 10, and I'm not sure if it's a problem with building paths on Windows, or because I'm doing something wrong.

It builds fine when I run:

transcrypt src/main.py

Is there any other info I should Include?

OS: Windows 10
Python: 3.7.2
Node: v10.15.1
NPM: 6.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions