Comments (4)
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.
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.
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)
- CLI environment variable to define the default Pulumi organization HOT 5
- Consider failing Config.require if the config value is a secret HOT 1
- Pulumi convert mishandles array conversion (Go SDK, Java SDK)
- Pulumi convert missing import statement for Deployment class (Java SDK)
- Pulumi convert mishandles eager stack outputs (Go SDK, Java SDK)
- IgnoreChanges works differently on refresh than it does on update HOT 4
- Pulumi does not respect `dependsOn` for `.get` operations HOT 1
- Workflow failure: Download Pulumi Cron HOT 3
- Pulumi Import throught "Import" resource option - override "match" failures HOT 1
- Stack failure during Pulumi update investigation initiated HOT 2
- Pulumi refresh triggers a diff for resources imported with .get HOT 2
- CLI panic in processIgnoreChanges HOT 2
- Allow setting pulumi CLI flags via environment variables HOT 2
- Remove MyPy workaround for TypedDicts
- Potentially flaky test secrets/cloud TestAWSCloudManager_AssumedRole failing in CI
- Saved plan with automation API results in error decrypting secret value HOT 1
- Diagnostics is not fully exposing reference/stack HOT 1
- Difficult to set backend URL on Windows HOT 1
- switching mfa_delete Flag in aws.s3.Bucket completely blocked further updates to the S3 bucket HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulumi.