Coder Social home page Coder Social logo

Comments (4)

tgummerer avatar tgummerer commented on July 19, 2024

This is really odd. Can you try re-installing the dependencies using npm ci? It almost looks like some dependencies are half installed, which also recently happened in #16377 (but that looked slightly different, so not sure this is the same case again).

from pulumi.

tarabishy2020 avatar tarabishy2020 commented on July 19, 2024

That didn't change anything sadly. Also, this error is happening in a project I am working on, and the above steps were to test if it will be the same in a new project or not.
I tried running pulumi up --logtostderr --logflow -v=10 in both, in the main project no new information appeared, but in the test project i bootstrapped with
pulumi new azure-typescript I am getting the below 2 errors logged

Diagnostics:
  pulumi:pulumi:Stack (test-dev):
    error: an unhandled error occurred: [eval]:1
    try {


    SyntaxError: Unexpected end of input
        at makeContextifyScript (node:internal/vm:123:14)
        at node:internal/process/execution:98:22
        at [eval]-wrapper:6:24
        at runScript (node:internal/process/execution:92:62)
        at evalScript (node:internal/process/execution:123:10)
        at node:internal/main/eval_string:51:3

    Node.js v20.11.1

    I0614 17:05:01.803472   14080 main.go:321] one or more errors while discovering plugins: 2 errors occurred:
        * unmarshaling package.json ...\test\node_modules\resolve\test\resolver\false_main\package.json: json: cannot unmarshal bool into Go struct field packageJSON.main of type string
        * unmarshaling package.json ...\test\node_modules\resolve\test\resolver\invalid_main\package.json: json: cannot unmarshal array into Go struct field packageJSON.main of type string

from pulumi.

tgummerer avatar tgummerer commented on July 19, 2024

Very odd. Did this error just start happening in the project you are working on, or did that project never work? Also did you try this on a different machine?

Also would you be willing to send us a zip of the project so we can try to reproduce this, since we haven't been able to do so. And the full logfile you're getting with -v=10?

If you don't want to attach it to the issue you can send it to me privately at [email protected].

from pulumi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.